Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-15 | Merge branch 'rust-panic1-034' into rust-panic1-035 | teor | |
Trivial merge: a blank line was removed between 0.3.4 and 0.3.5. | |||
2019-04-15 | Merge branch 'rust-panic1' into rust-panic1-034 | teor | |
2019-02-05 | Merge branch 'maint-0.3.4' into maint-0.3.5 | Roger Dingledine | |
2019-02-05 | Merge branch 'maint-0.3.3' into maint-0.3.4 | Roger Dingledine | |
2019-02-01 | Update Cargo.lock with new comment; suppress 29244. | Nick Mathewson | |
2019-01-16 | Bump copyright date to 2019. | Nick Mathewson | |
2018-11-15 | Merge branch 'bug27740_035_fix' into maint-0.3.5 | Nick Mathewson | |
2018-10-30 | Merge remote-tracking branch 'tor-github/pr/431' into maint-0.3.5 | Nick Mathewson | |
2018-10-30 | Merge branch 'maint-0.3.3' into maint-0.3.4 | Nick Mathewson | |
2018-10-30 | Merge remote-tracking branch 'tor-github/pr/431' into bug27740_035_fix | Nick Mathewson | |
2018-10-30 | Merge remote-tracking branch 'tor-github/pr/346' into maint-0.3.3 | Nick Mathewson | |
2018-10-30 | remove now-unused "use" statement. | Nick Mathewson | |
2018-10-30 | Merge remote-tracking branch 'tor-github/pr/381' into maint-0.3.5 | Nick Mathewson | |
2018-10-30 | Try to restore a proper fix for bug27740 in 0.3.5. | Nick Mathewson | |
(I messed up the merge in 289a7dbac32a981897e12a3c250f0b6c67eec809.) | |||
2018-10-24 | rust/tor_log: fix C_RUST_COUPLED documentation | cypherpunks | |
This file was moved in 97b15a1d7c51764888d2172711e3f3a71fb01916 and moved again in e7f5f48d68553206b95cbb4f610702c887500124. | |||
2018-10-23 | Merge branch 'maint-0.3.3' into maint-0.3.4 | Nick Mathewson | |
2018-10-23 | Remove a now-unused rust "use". | Nick Mathewson | |
2018-10-23 | Merge branch 'maint-0.3.4' into maint-0.3.5 | Nick Mathewson | |
2018-10-23 | Merge branch 'maint-0.3.3' into maint-0.3.4 | Nick Mathewson | |
2018-10-19 | Merge remote-tracking branch 'onionk/rust-protocommas1' into maint-0.3.5 | Nick Mathewson | |
2018-10-01 | Remove rlib+staticlib configuration for Rust crates | Alex Crichton | |
Only the final crate needs to be a `staticlib`, no need for all the intermediate steps to produce staticlibs! | |||
2018-10-01 | Remove `[features]` from workspace Cargo.toml | Alex Crichton | |
Unfortunately Cargo doesn't actually parse these! Cargo should probably print a warning saying they're not used... | |||
2018-10-01 | Fix segfaults related to sanitizers+jemalloc | Alex Crichton | |
It looks to be the case that Rust's standard allocator, jemalloc, is incompatible with sanitizers. The incompatibility, for whatever reason, seems to cause segfaults at runtime when jemalloc is linked with sanitizers. Without actually trying to figure out what's going on here this commit instead takes the hammer of "let's remove jemalloc when testing". The `tor_allocate` crate now by default switches to the system allocator (eventually this will want to be the tor allocator). Most crates then link to `tor_allocate` ot pick this up, but the `smartlist` crate had to manually switch to the system allocator in testing and the `external` crate had to be sure to link to `tor_allocate`. The final gotcha here is that this patch also switches to unconditionally passing `--target` to Cargo. For weird and arcane reasons passing `--target` with the host target of the compiler (which Cargo otherwise uses as the default) is different than not passing `--target` at all. This ensure that our custom `RUSTFLAGS` with sanitizer options doesn't make its way into build scripts, just the final testing artifacts. | |||
2018-09-24 | rust: run rustfmt | cypherpunks | |
2018-09-24 | rust/protover: remove redundant ExceedsMax checks | cypherpunks | |
This is already checked elsewhere. | |||
2018-09-21 | rust/protover: return C-allocated string in protover_all_supported() | cypherpunks | |
The result of CString::into_raw() is not safe to free with free() except under finicky and fragile circumstances that we definitely don't meet right now. This was missed in be583a34a3815c2c10e86094ab0610e4b7f9c869. | |||
2018-09-21 | rust/protover: fix null deref in protover_all_supported() | cypherpunks | |
Fortunately with the current callers it couldn't happen in practice. Fix on d1820c1516a31a149fc51a9e5126bf899e4c4e08. | |||
2018-09-18 | Merge remote-tracking branch 'nickm/bug27741_033' into bug27741_035 | teor | |
Resolve conflicts due to rustfmt, and run rustfmt on the merged code. | |||
2018-09-18 | Merge branch 'maint-0.3.4' | Nick Mathewson | |
2018-09-18 | Merge branch 'maint-0.3.3' into maint-0.3.4 | Nick Mathewson | |
2018-09-17 | Remove extraneous argument from Rust protover_compute_vote() | Nick Mathewson | |
This argument was added to match an older idea for the C api, but we decided not to do it that way in C. Fixes bug 27741; bugfix on 0.3.3.6 / TROVE-2018-005 fix. | |||
2018-09-16 | Don't try to link C from rust doctests for nss detection | Nick Mathewson | |
This is really annoying, since we can't use cfg(test) for doctests. | |||
2018-09-16 | When Tor is compiled with NSS, don't claim support for LinkAuth=1 | Nick Mathewson | |
Closes ticket 27288 | |||
2018-09-15 | rust/protover: reject extra commas | cypherpunks | |
The C implementation had gotten this wrong too, in a slightly different way. Introduced in 5af03c1ef3c4718b79abb1638f5a8c275129530a. Fixes #27197; bugfix on 0.3.3.3-alpha. | |||
2018-09-14 | rust/protover: delete ProtoSet::retain | cypherpunks | |
As the comment noted, it was horribly inefficient. | |||
2018-09-14 | rust/protover: use .and_not_in() instead of .retain() in all_supported() | cypherpunks | |
.retain() would allocating a Vec of billions of integers and check them one at a time to separate the supported versions from the unsupported. This leads to a memory DoS. Closes ticket 27206. Bugfix on e6625113c98c281b0a649598d7daa347c28915e9. | |||
2018-09-14 | rust/protover: add ProtoSet::and_not_in() | cypherpunks | |
This is a way more efficient version of retain(). | |||
2018-09-14 | Merge branch 'maint-0.3.3' into maint-0.3.4 | Nick Mathewson | |
2018-09-14 | Merge branch 'rust-protokeyword1-034' into rust-protokeyword1-035 | cypherpunks | |
2018-09-14 | Merge branch 'rust-protokeyword1' into rust-protokeyword1-034 | cypherpunks | |
2018-09-13 | rust/protover: validate unknown protocol names use only allowed characters | cypherpunks | |
2018-09-12 | Merge branch 'maint-0.3.4' | Nick Mathewson | |
2018-09-12 | Merge branch 'maint-0.3.3' into maint-0.3.4 | Nick Mathewson | |
2018-09-12 | rust/protover: fix check for overlapping ranges | cypherpunks | |
Closes ticket 27649. Bugfix on e6625113c98c281b0a649598d7daa347c28915e9. | |||
2018-09-12 | rust/protover: remove version zero from tests | cypherpunks | |
This isn't legal according to dir-spec.txt. We can write separate tests for it if the spec is changed to make it legal. | |||
2018-09-04 | Merge branch 'nss_squashed' into nss_merge | Nick Mathewson | |
2018-08-21 | Merge remote-tracking branch 'teor/travis-osx-master' | Nick Mathewson | |
2018-08-21 | Merge remote-tracking branch 'teor/travis-osx-034' into maint-0.3.4 | Nick Mathewson | |
2018-08-21 | Merge remote-tracking branch 'teor/travis-osx-033' into maint-0.3.3 | Nick Mathewson | |
2018-08-18 | rust: abort on panic in all profiles | cypherpunks | |
Until https://github.com/rust-lang/rust/issues/52652 is fixed, unwinding on panic is potentially unsound in a mixed C/Rust codebase. The codebase is supposed to be panic-free already, but just to be safe. This started mattering at commit d1820c1516a31a149fc51a9e5126bf899e4c4e08. Fixes #27199; bugfix on tor-0.3.3.1-alpha. |