summaryrefslogtreecommitdiff
path: root/src/test
AgeCommit message (Collapse)Author
2018-06-28Move string_is_key_value to lib/encodingNick Mathewson
2018-06-28Move weakrng into lib/intmathNick Mathewson
2018-06-28Extract process-management functionality into a new lib/processNick Mathewson
Note that procmon does *not* go here, since procmon needs to integrate with the event loop.
2018-06-28Fix the include paths for storagedir,conffile (automated)Nick Mathewson
2018-06-28Fix up the modules that include memarea.h (automated)Nick Mathewson
2018-06-28Extract threading code into a new library.Nick Mathewson
Note that the workqueue code does *not* go here: it is logically at a higher level, since it needs to use libevent and the networking stack.
2018-06-28Extract the alert-socket code into lib/net.Nick Mathewson
This code was in compat_threads, since it was _used_ for efficiently notifying the main libevent thread from another thread. But in spite of its usage, it's fundamentally a part of the network code.
2018-06-27Split confline into confline and conffile.Nick Mathewson
The "conffile" module knows about includes and filesystem access, whereas confline doesn't. This will make it possible to put these functions into libraries without introducing a cycle.
2018-06-27Move util_format into a new libtor-encoding libraryNick Mathewson
libtor-encoding is about various ways to transform data to and from character sequences.
2018-06-27Merge branch 'sandbox_refactor'Nick Mathewson
2018-06-27Merge branch 'net_refactor'Nick Mathewson
2018-06-27Fix up include paths for sandbox.h (automated)Nick Mathewson
2018-06-27Revert "Use the "commands" argument of AC_CONFIG_FILES to make scripts +x"Nick Mathewson
This reverts commit 56c1fbf33f34e010ec33e7660fab3ec3ecb43fc8.
2018-06-27rectify include paths (automatic) for address.hNick Mathewson
2018-06-27Link GetAdaptersAddresses, rather than loading it on-demand.Nick Mathewson
This function has been present since Windows XP.
2018-06-27Move network code to libtor-net.Nick Mathewson
There are some additional changes to come: those points are marked by XXXX.
2018-06-26Move tor_parse_long and friends into parse_int.h in libtor-stringNick Mathewson
2018-06-26Merge branch 'ticket26439'Nick Mathewson
2018-06-26Finish renaming digestset_contains to digestset_probably_containsNick Mathewson
Since bloom filters are probabilistic, it's nice to make it clear that the "contains" operation can have false positives.
2018-06-26Refactor bloom filter logic not to be digest-specific.Nick Mathewson
Now the address-set code and the digest-set code share the same backend. Closes ticket 26510
2018-06-26Merge branch 'log_dependencies'Nick Mathewson
2018-06-25Merge branch 'maint-0.3.4'Nick Mathewson
2018-06-24Add some casts to get test_dir.c compiling on windows.Nick Mathewson
Fixed bug 26479. Bug introduced by 0a6f4627a4292e4; bug not in any released version.
2018-06-24Fix test_geoip failures on windows by writing file in binary mode.Nick Mathewson
Fixes bug 26480; bug appeared when we re-enabled the geoip tests on windows. Bug originally introduced by our fix to 25787; bug not in any released Tor.
2018-06-22Finally extract the log library and make it build.Nick Mathewson
This patch: - introduces an fdio module for low-level fd functions that don't need to log. - moves the responsibility for opening files outside of torlog.c, so it won't need to call tor_open_cloexec.
2018-06-22Automated fixup of include paths after torlog.h movement.Nick Mathewson
2018-06-22Expunge container.hNick Mathewson
2018-06-22Remove bloom filters, order statistics, and bitarrays from container.hNick Mathewson
2018-06-22Rectify include paths after container split (automatic)Nick Mathewson
2018-06-21Extract tor_malloc and friends to a new module.Nick Mathewson
2018-06-21Use the "commands" argument of AC_CONFIG_FILES to make scripts +xNick Mathewson
Closes ticket 26439.
2018-06-21Rectify include paths (automated).Nick Mathewson
You have no idea how glad I am that this is automated.
2018-06-21Rectify include paths (automated)Nick Mathewson
2018-06-21Remove unused pubsub module.Nick Mathewson
2018-06-21Rectify include paths (automated)Nick Mathewson
2018-06-21Rectify include paths (automated)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-21Merge branch 'mikeperry_bug26214-rebased_squashed'Nick Mathewson
2018-06-21Bug 26214: Test updates.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-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 '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-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-20Remove dmalloc support; closes #26426Nick Mathewson
Dmalloc hasn't seen a release in over a decade, and there are much better tools to use these days.