aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
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-22Extract the locking and logging codeNick Mathewson
The locking code gets its own module, since it's more fundamental than the higher-level locking code. Extracting the logging code was the whole point here. :)
2018-06-22Extract simple integer math into its own moduleNick Mathewson
2018-06-22Extract key string manipulation functions into a new library.Nick Mathewson
2018-06-22Extract our code for answering "what time is it right now".Nick Mathewson
The other time stuff is higher-level
2018-06-22Refactor container into a library.Nick Mathewson
2018-06-21Extract tor_malloc and friends to a new module.Nick Mathewson
2018-06-21Make sure check-spaces applies in lib and dirauth.Nick Mathewson
2018-06-21Run checkIncludes.py from "make check-includes"Nick Mathewson
2018-06-21Split crypto and tls libraries into directoriesNick Mathewson
I am calling the crypto library "crypt_ops", since I want higher-level crypto things to be separated from lower-level ones. This library will hold only the low-level ones, once we have it refactored.
2018-06-21Move trace into its own library in libs.Nick Mathewson
Apparently it has no testing variant.
2018-06-21Extract compression functions into a new library.Nick Mathewson
2018-06-21Rename libtor.a to libtor-app.aNick Mathewson
2018-06-21Move consttime library code into its own directory.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-20Run rectify_include_paths.pyNick Mathewson
2018-06-20Simplify AM_CPPFLAGS include setupNick Mathewson
We had accumulated a bunch of cruft here. Now let's only include src and src/ext. (exception: src/trunnel is autogenerated code, and need to include src/trunnel.) This commit will break the build hard. The next commit will fix it.
2018-06-20Update copyrights to 2018.Nick Mathewson
2018-06-11build: Add `make clippy` option for Rust linting.Isis Lovecruft
Note that clippy is quite loud/obnoxious, as its name would imply. This target isn't meant to run on CI, or even necessarily exit cleanly. It's merely a way for developers to check if they've made any glaring mistakes, or done awkward things they might not have otherwise realised. We *can* configure it to be quieter in the future, but it's probably not worth rabbitholing on. * CLOSES #22156: https://bugs.torproject.org/22156
2018-05-11Add a CONTRIBUTING fileNick Mathewson
This file contains pointers to other important top-level resources, and some info about acceptable licenses. Also, add that info to CodingStandards.md
2018-05-03Merge branch 'maint-0.3.3'Nick Mathewson
2018-05-01build: Always compile module support for testsDavid Goulet
The --disable-module-* configure option removes code from the final binary but we still build the unit tests with the disable module(s) so we can actually test that code path all the time and not forget about it. Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-04-26Merge branch 'bug25936-032' into bug25936-033Taylor Yu
2018-04-26Merge branch 'bug25936-031' into bug25936-032Taylor Yu
2018-04-26Merge branch 'bug25936-029' into bug25936-031Taylor Yu
2018-04-26Show test-suite.log for distcheck on Travis CITaylor Yu
When Travis CI runs make distcheck, test-suite.log doesn't exist in the expected place. Add a new make target to show this file and use it when DISTCHECK=yes in .travis.yml. Fixes bug 25814; bug not in any released Tor.
2018-04-22add changes file and update check-typos in makefileDeepesh Pathak
2018-04-22Add spell check to makefile to check for typos ticket#25024Deepesh Pathak
- Use misspell to check for typos in codebase - Add `make check-typos` to run the checks - Add `check-typos` to `make check`
2018-01-16Merge branch 'maint-0.3.2'Nick Mathewson
2018-01-04Use -lresolv in LIBS with rust on OSX.Nick Mathewson
This fixes issue #24652, and is a workaround for Rust issue https://github.com/rust-lang/rust/issues/46797 .
2018-01-02Merge remote-tracking branch 'ffmancera/github/bug24677'Nick Mathewson
2018-01-02Use ping -6 ::1 on Linux when ping6 ::1 fails on tests.Fernando Fernandez Mancera
Tor test now checks if "ping -6 -c 1 -W 1 ::1" works when "ping6 -c 1 -W 1 ::1" fails on tests. Fixes #24677; bugfix in 0.2.9.3-alpha. Signed-off-by: Fernando Fernandez Mancera <ffernandezmancera@gmail.com>
2017-10-27Make distcleancheck pass with --enable-rustNick Mathewson
2017-10-27refactor build infrastructure for single rust binaryChelsea Holland Komlo
2017-10-27use tor allocator for string allocation in rustChelsea Holland Komlo
2017-10-27rust implementation of protoverChelsea Holland Komlo
2017-09-21Whoops; only run lintchanges when usepythonNick Mathewson
2017-09-21Make check-spaces part of the standard "make check" processNick Mathewson
To do this, we had to make sure it passes when the changes directory is empty. I also tried to improve the quality of the output, and fix some false-positive cases. Let's see how this goes! Closes ticket 23564.
2017-09-07Add support for running "calltool" on Tor via "make callgraph".Nick Mathewson
Closes #19307.
2017-08-2122839: Build tor with rust enabled on winTies Stuij
- make tor_util static library name configurable - fix Rust libary dependency order for Windows
2017-05-19Allow Rust build using locally supplied crates or crates.ioSebastian Hahn
This adds a couple of configure commands to control whether we're requiring all dependencies to be available locally (default) or not (--enable-cargo-online-mode). When building from a tarball, we require the RUST_DEPENDENCIES variable to point to the local repository of crates. This also adds src/ext/rust as a git submodule that contains such a local repository for easy setup.
2017-05-19Add some Rust utility functions and print supportSebastian Hahn
This gives an indication in the log that Tor was built with Rust support, as well as laying some groundwork for further string-returning APIs to be converted to Rust
2017-04-29Add --enable-rust configure switchSebastian Hahn
Introduce a way to optionally enable Rust integration for our builds. No actual Rust code is added yet and specifying the flag has no effect other than failing the build if rustc and cargo are unavailable.
2017-04-25Add --enable-zstd to our configure script.Alexander Færøy
This patch adds support for enabling support for Zstandard to our configure script. By default, the --enable-zstd option is set to "auto" which means if libzstd is available we'll build Tor with Zstandard support. See: https://bugs.torproject.org/21662
2017-04-25Add --enable-lzma to our configure script.Alexander Færøy
This patch adds support for enabling support for LZMA to our configure script. By default, the --enable-lzma option is set to "auto" which means if liblzma is available we'll build Tor with LZMA support. See: https://bugs.torproject.org/21662
2017-03-15Run the copyright update script.Nick Mathewson
2017-03-01Remove a spurious test-network-all warning that triggers when sh is not bashteor
Part of 21581.
2017-02-28Log tor warnings during 'make test-network-all'teor
Requires the chutney changes from 21572. (Otherwise, asks users to upgrade their chutney.) Implements 21570.
2017-01-30libfuzzer tweaks per recommendationsNick Mathewson