Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-06-21 | Merge branch 'additional_rust_test_fixes' into maint-0.3.4 | Nick Mathewson | |
2018-06-21 | Merge branch 'maint-0.3.3' into maint-0.3.4 | Nick Mathewson | |
2018-06-20 | fix memory leak in protover.c | Roger 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-20 | add build.rs to EXTRA_DIST | Nick Mathewson | |
2018-06-20 | eol@eof is still the law in 0.3.4 :( | Nick Mathewson | |
2018-06-20 | Add a leak suppression for backtrace_alloc | Nick Mathewson | |
This appears to be an internal rust thing: I don't know why it's leaking. We should investigate further. | |||
2018-06-20 | Merge branch 'maint-0.3.4' into additional_rust_test_fixes | Nick Mathewson | |
2018-06-20 | Fix clang warnings introduced by 9f2b887c5d251b93ee9def708 | Nick Mathewson | |
2018-06-20 | Fix memory leak in CryptoDigest type | Nick Mathewson | |
If you're owning a C pointer, you need to implement Drop. | |||
2018-06-20 | Disable 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-20 | Fix bugs in rust digest tests | Nick Mathewson | |
2018-06-20 | Merge branch 'rust_build_script_v3' into additional_rust_test_fixes | Nick Mathewson | |
2018-06-20 | rust: 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-20 | eol@eof in test-dir.c | Nick Mathewson | |
2018-06-20 | Merge branch 'asn_bug24977_final_squashed' into maint-0.3.4 | Nick Mathewson | |
2018-06-20 | Recreate nodelist before use if it's outdated. | George Kadianakis | |
We currently only do the check when we are about to use the HSDir indices. | |||
2018-06-20 | Recreate voting schedule before use if it's outdated. | George Kadianakis | |
2018-06-20 | rust: Remove redundant "testing" feature from tor_log crate. | Isis Lovecruft | |
It was synonymous with the builtin "test" feature. * FIXES #26399: https://bugs.torproject.org/26399 | |||
2018-06-20 | Enable DEBUG_SMARTLIST in unit tests | rl1987 | |
2018-06-20 | Refrain from accessing empty smartlist in test_bridges_clear_bridge_list | rl1987 | |
Just check that smartlist length is zero instead | |||
2018-06-20 | Merge remote-tracking branch 'catalyst-github/bug26415_034' into maint-0.3.4 | Nick Mathewson | |
2018-06-19 | Fix linker errors when building Tor. | Alexander Færøy | |
This patch fixes linking errors when compiling Tor with the dirauth module disabled. See: https://bugs.torproject.org/26418 | |||
2018-06-19 | Fix compilation of Rust crypto doctests | Taylor Yu | |
The doctests for src/rust/crypto don't compile for multiple reasons, including some missing exports and incorrect identifier paths. Fixes bug 26415; bugfix on 0.3.4.1-alpha. | |||
2018-06-19 | Use a rust build script to set linker options correctly for tests. | Nick Mathewson | |
We need this trick because some of our Rust tests depend on our C code, which in turn depend on other native libraries, which thereby pulls a whole mess of our build system into "cargo test". To solve this, we add a build script (build.rs) to set most of the options that we want based on the contents of config.rust. Some options can't be set, and need to go to the linker directly: we use a linker replacement (link_rust.sh) for these. Both config.rust and link_rust.sh are generated by autoconf for us. This patch on its own should enough to make the crypto test build, but not necessarily enough to make it pass. | |||
2018-06-18 | Remove duplicate MODULE_DIRAUTH_SOURCES from libtor_testing.a | Nick Mathewson | |
This was already added to LIBTOR_A_SOURCES; it doesn't need to get added again. Fixes bug 26402. Bugfix on 0.3.4.1-alpha. | |||
2018-06-18 | Revert "Remove duplicate MODULE_DIRAUTH_SOURCES from libtor_testing.a" | Nick Mathewson | |
This reverts commit 70d91bd059869a0ecf24ceb66942ada4f66f03c9. | |||
2018-06-18 | Remove duplicate MODULE_DIRAUTH_SOURCES from libtor_testing.a | Nick Mathewson | |
This was already added to LIBTOR_A_SOURCES; it doesn't need to get added again. Fixes bug 26402. Bugfix on 0.3.4.1-alpha. | |||
2018-06-16 | Changes to make the rust crypto::mod tests compile | Nick Mathewson | |
The digest tests don't link yet, though. | |||
2018-06-16 | Merge branch 'maint-0.3.3' into maint-0.3.4 | Nick Mathewson | |
2018-06-16 | Fix a bug in my fix for #26258 | Nick Mathewson | |
The fix here is use a different bourne shell subsitution for CARGO_ONLINE, so that an empty string counts as set. | |||
2018-06-16 | Merge remote-tracking branch 'isis/bug26267' into maint-0.3.4 | Nick Mathewson | |
2018-06-16 | Merge remote-tracking branch 'isis/bug26245' into maint-0.3.4 | Nick Mathewson | |
2018-06-15 | rust: Remove unused N_DIGEST_ALGORITHMS constant from crypto_digest.rs. | Isis Lovecruft | |
In the C code, this constant is only ever used in src/test/bench.c. * FIXES part of #26245: https://bugs.torproject.org/26245 | |||
2018-06-15 | rust: Add comment and pragma on "unused" smartlist_t type. | Isis Lovecruft | |
* FIXES part of #26245: https://bugs.torproject.org/26245 | |||
2018-06-15 | Make Rust warnings conditionally fatal | Taylor Yu | |
Set rustc flags to treat warnings as fatal if configured with --enable-warnings. | |||
2018-06-15 | rust: Expose rand module from crypto crate. | Isis Lovecruft | |
2018-06-15 | Bump master to 0.3.5.0-alpha-devtor-0.3.5.0-alpha-dev | Nick Mathewson | |
2018-06-15 | Set default-features = false for rand_core | Taylor Yu | |
Apparently rand and rand_core need to be built with the "std" feature set consistently, or there will be a compile error in rngs/jitter.rs. | |||
2018-06-14 | Merge branch 'maint-0.3.3' | Nick Mathewson | |
2018-06-14 | Merge remote-tracking branch 'public/bug26258_033' into maint-0.3.3 | Nick Mathewson | |
2018-06-13 | squash! Make sure that the test_rust.sh script fails when a test fails | Nick Mathewson | |
Also make sure that we're actually running the test from within the right cwd, like we do when we're building. This seems necessary to avoid an error when running offline. Amusingly, it appears that we had this bug before: we just weren't noticing it, because of bug 26258. | |||
2018-06-13 | Merge remote-tracking branch 'asn-github/bug26358' | Nick Mathewson | |
2018-06-13 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-06-13 | Merge branch 'maint-0.3.3' | Nick Mathewson | |
2018-06-13 | Merge branch 'maint-0.3.1' into maint-0.3.2 | Nick Mathewson | |
2018-06-13 | Merge branch 'bug26158_031' into maint-0.3.1 | Nick Mathewson | |
2018-06-13 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-06-13 | Merge branch 'maint-0.3.3' | Nick Mathewson | |
2018-06-13 | Merge branch 'bug25686_diagnostic_032' into maint-0.3.2 | Nick Mathewson | |
2018-06-13 | Merge remote-tracking branch 'rl1987/bug24891' | Nick Mathewson | |