- Apr 30, 2019
-
-
-
-
We had this previously, but we did it differently in different places. This implementation is pulled from test_prob_distr.c
-
- Apr 05, 2019
-
-
-
teor authored
-
-
Our monotime mocking forces us to call monotime_init() *before* we set the mocked time value. monotime_init() thus stores the first ratchet value at whatever the platform is at, and then we set fake mocked time to some later value. If monotime_init() gets a value from the host that is greater than what we choose to mock time at for our unittests, all subsequent monotime_abosolute() calls return zero, which breaks all unittests that depend on time moving forward by updating mocked monotime values. So, we need to adjust our mocked time to take the weird monotime_init() time into account, when we set fake time.
-
Hopefully this will stop monotime_absolute_usec() from returning 0 on some platforms in the tests.
-
Cancel the padding timer by changing order of sent vs recv (sent cancels).
-
- Apr 04, 2019
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
Previously we did this for tests only, but it's valuable for getting proper fork behavior in rand_fast.
-
Nick Mathewson authored
Closes ticket 29357, and comes with appropriate notions of caution.
-
- Mar 29, 2019
-
-
- Mar 28, 2019
-
-
Nick Mathewson authored
After this fix, we have no more unchecked mkdir() calls. Bug 29939; CID 144254. Bugfix on 0.2.7.2-alpha.
-
- Mar 27, 2019
-
-
teor authored
For scripts that work with python2, use /usr/bin/python. Otherwise, use /usr/bin/env python3. Fixes bug 29913; bugfix on 0.2.5.3-alpha.
-
- Mar 26, 2019
-
-
Nick Mathewson authored
Having the numbers in those messages makes some of the unit test unstable, by causing them to depend on the initialization order of the naming objects.
-
rl1987 authored
-
-
-
-
-
teor authored
Part of 29806.
-
- Mar 25, 2019
-
-
Nick Mathewson authored
Also fix a grammar error in a comment.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
When we clean up, we'd like to clear all the bindings that refer to a dispatch_t, so that they don't have dangling pointers to it.
-
Nick Mathewson authored
This "publish/subscribe" layer sits on top of lib/dispatch, and tries to provide more type-safety and cross-checking for the lower-level layer. Even with this commit, we're still not done: more checking will come in the next commit, and a set of usability/typesafety macros will come after.
-
Nick Mathewson authored
This module implements a way to send messages from one module to another, with associated data types. It does not yet do anything to ensure that messages are correct, that types match, or that other forms of consistency are preserved.
-
Nick Mathewson authored
Tests included.
-
Nick Mathewson authored
We'll be using this for four kinds of identifier in dispatch.c
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-