summaryrefslogtreecommitdiff
path: root/src/common/Makefile.am
AgeCommit message (Collapse)Author
2012-08-09Move to non-recursive makeStewart Smith
This gives us a few benefits: 1) make -j clean all this will start working, as it should. It currently doesn't. 2) increased parallel build recursive make will max out at number of files in a directory, non-recursive make doesn't have such a limitation 3) Removal of duplicate information in make files, less error prone I've also slightly updated how we call AM_INIT_AUTOMAKE, as the way that was used was not only deprecated but will be *removed* in the next major automake release (1.13).... so probably best that we can continue to bulid tor without requiring old automake. (see http://www.gnu.org/software/automake/manual/html_node/Public-Macros.html ) For more reasons why, see resources such as: http://miller.emu.id.au/pmiller/books/rmch/
2012-02-12Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: src/common/Makefile.am src/or/Makefile.am
2012-02-10Properly protect paths to sed, sha1sum, opensslSebastian Hahn
in Makefile.am, we used it without quoting it, causing build failure if your openssl/sed/sha1sum happened to live in a directory with a space in it (very common on windows)
2012-01-06Change to use SSL_state_string_long() instead of homebrew ↵Emile Snyder
ssl_state_to_string() function.
2011-11-24Handle build-trees better.Peter Palfrader
Properly create git revision and source file sha1sums include files when building tor not in its source tree but in a dedicated build tree.
2011-08-01Initial patch to build Tor with msvc and nmakeNick Mathewson
We'll still need to tweak it so that it looks for includes and libraries somewhere more sensible than "where we happened to find them on Erinn's system"; so that tests and tools get built too; so that it's a bit documented; and so that we actually try running the output. Work done with Erinn Clark.
2011-05-23Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: src/common/Makefile.am src/or/control.c
2011-05-23Merge branch 'feature3049-v2' into maint-0.2.2Nick Mathewson
Conflicts: src/common/Makefile.am
2011-05-20Implement __OwningControllerProcess optionRobert Ransom
Implements part of feature 3049.
2011-05-11Merge remote-tracking branch 'public/bug3122_memcmp_022' into bug3122_memcmp_023Nick Mathewson
Conflicts in various places, mainly node-related. Resolved them in favor of HEAD, with copying of tor_mem* operations from bug3122_memcmp_022. src/common/Makefile.am src/or/circuitlist.c src/or/connection_edge.c src/or/directory.c src/or/microdesc.c src/or/networkstatus.c src/or/router.c src/or/routerlist.c src/test/test_util.c
2011-05-11Merge remote-tracking branch 'public/3122_memcmp_squashed' into ↵Nick Mathewson
bug3122_memcmp_022 Conflicts throughout. All resolved in favor of taking HEAD and adding tor_mem* or fast_mem* ops as appropriate. src/common/Makefile.am src/or/circuitbuild.c src/or/directory.c src/or/dirserv.c src/or/dirvote.c src/or/networkstatus.c src/or/rendclient.c src/or/rendservice.c src/or/router.c src/or/routerlist.c src/or/routerparse.c src/or/test.c
2011-05-11Add a data-independent variant of memcmp and a d-i memeq function.Nick Mathewson
The tor_memcmp code is by Robert Ransom, and the tor_memeq code is by me. Both incorporate some ideas from DJB's stuff.
2010-11-11Split long lines in configure.in and Makefile.am filesNick Mathewson
Having very long single lines with lots and lots of things in them tends to make files hard to diff and hard to merge. Since our tools are one-line-at-a-time, we should try to construct lists that way too, within reason. This incidentally turned up a few headers in configure.in that we were for some reason searching for twice.
2010-07-09Rename log.h to torlog.hNick Mathewson
This should make us conflict less with system files named "log.h". Yes, we shouldn't have been conflicting with those anyway, but some people's compilers act very oddly. The actual change was done with one "git mv", by editing Makefile.am, and running find . -name '*.[ch]' | xargs perl -i -pe 'if (/^#include.*\Wlog.h/) {s/log.h/torlog.h/; }'
2009-09-24Fix compilation on OpenSSLs with unusual state lists.Nick Mathewson
"Unusual" in this context means "not the same as nickm's." We should grow a better list later. (Also, move TLS state table to a separate header.)
2009-09-23Refactor unit tests to use the tinytest framework.Nick Mathewson
"Tinytest" is a minimalist C unit testing framework I wrote for Libevent. It supports some generally useful features, like being able to run separate unit tests in their own processes. I tried to do the refactoring to change test.c as little as possible. Thus, we mostly don't call the tinytest macros directly. Instead, the test.h header is now a wrapper on tinytest.h to make our existing test_foo() macros work. The next step(s) here will be: - To break test.c into separate files, each with its own test group. - To look into which things we can test - To refactor the more fiddly tests to use the tinytest macros directly and/or run forked. - To see about writing unit tests for things we couldn't previously test without forking.
2009-08-20Add a SHA256 implementation for platforms that lack it.Nick Mathewson
(This would be everywhere running OpenSSL 0.9.7x and earlier, including all current Macintosh users.) The code is based on Tom St Denis's LibTomCrypt implementation, modified to be way less general and use Tor's existing facilities. I picked this one because it was pretty fast and pretty free, and because Python uses it too.
2009-06-12Update Tor to use Libevent 2.0 APIs when available.Nick Mathewson
This patch adds a new compat_libevent.[ch] set of files, and moves our Libevent compatibility and utilitity functions there. We build them into a separate .a so that nothing else in src/commmon depends on Libevent (partially fixing bug 507). Also, do not use our own built-in evdns copy when we have Libevent 2.0, whose evdns is finally good enough (thus fixing Bug 920).
2009-05-08Include the *_sha1.i files in their own *_codedigest.c files.Nick Mathewson
This way we do not need to rebuild util.c and/or config.c whenever any unrelated source file in src/common or src/or has changed.
2009-04-29Command-line option to dump SHA1 digests of all source files.Nick Mathewson
Now, when you call tor --digests, it dumps the SHA1 digest of each source file that Tor was built with. We support both 'sha1sum' and 'openssl sha1'. If the user is building from a tarball and they haven't edited anything, they don't need any program that calculates SHA1. If they _have_ modified a file but they don't have a program to calculate SHA1, we try to build so we do not output digests.
2008-07-25 r17358@pc-10-8-1-079: nickm | 2008-07-25 16:41:03 +0200Nick Mathewson
Split out the address manipulation functions from compat and util: they were about 21% of the total of those, and spread out too much. svn:r16208
2008-06-12 r16215@tombo: nickm | 2008-06-12 18:39:03 -0400Nick Mathewson
Implement code to manually force the OpenSSL client cipher list to match the one recommended in proposal 124, *even if* we do not know all those ciphers. This is a bit of a kludge, but it is at least decently well commented. svn:r15173
2008-03-26 r19049@catbus: nickm | 2008-03-26 12:33:25 -0400Nick Mathewson
Add new stacklike, free-all-at-once memory allocation strategy. Use it when parsing directory information. This helps parsing speed, and may well help fragmentation some too. hidden-service-related stuff still uses the old tokenizing strategies. svn:r14194
2008-02-18 r18138@catbus: nickm | 2008-02-18 13:13:18 -0500Nick Mathewson
Try to make conditional include logic for openbsd malloc not warn on arma's computer. May fix bug 610. svn:r13557
2008-02-17 r18123@catbus: nickm | 2008-02-17 14:08:45 -0500Nick Mathewson
Fix capitalization error svn:r13545
2008-02-17 r14238@tombo: nickm | 2008-02-17 14:03:44 -0500Nick Mathewson
Add openbsd memory allocator discussed in bug 468, to make it easier for linux users to get non-awful allocation patterns. Use --enable-openbsd-malloc to turn it on. Needs more testing. svn:r13544
2007-04-11 r12335@catbus: nickm | 2007-04-10 16:53:48 -0400Nick Mathewson
Initial version of memory pool logic. Needs unit tests. Made to be easily separable from Tor. svn:r9937
2005-11-23Replace balanced trees with hash tables: this should make stuff ↵Nick Mathewson
significantly faster. svn:r5441
2005-01-12Make Tor use Niels Provos's libevent instead of it's currentNick Mathewson
poll-but-sometimes-select mess. This will let us use faster async cores (like epoll, kpoll, and /dev/poll), and hopefully work better on Windows too. There are some fairly nasty changes to main.c here; this will almost certainly break something. But hey, that's what alphas are for. svn:r3341
2004-11-01Split util into util (general utilities), container (smartlist and strmap), ↵Nick Mathewson
and compat (cross-platform compatability). svn:r2640
2004-10-30Only tor and test binaries need to link against openssl and zlib; ↵Nick Mathewson
tor-resolve can be smaller. svn:r2629
2004-09-02Add basic wrappers for zlib/gzipNick Mathewson
svn:r2324
2004-03-19ship strlcat and strlcpy with the tarball, but don't compile themRoger Dingledine
svn:r1297
2004-03-17Include strlcpy and strlcat where not available, so our string ops can be ↵Nick Mathewson
less error-prone. svn:r1289
2003-09-04Add initial interfaces and code for TLS support. Interfaces are right; code ↵Nick Mathewson
needs work and testing. svn:r424
2003-08-14include torint.h in 'make dist'Roger Dingledine
svn:r401
2003-06-30Add AES counter-mode support to the crypt libraryNick Mathewson
svn:r362
2003-06-18remove obsolete ss.hRoger Dingledine
svn:r336
2003-05-09still removing version.hRoger Dingledine
svn:r286
2003-04-16Factor out timeval-related functions.Nick Mathewson
svn:r237
2003-04-08let the 'test' binary build from the source distribRoger Dingledine
svn:r228
2002-11-25removing more unused filesRoger Dingledine
svn:r141
2002-11-23remove popt dependency, consolidate config stuffRoger Dingledine
reformat parts of onion.c svn:r136
2002-09-03Port to MacOS XNick Mathewson
svn:r88
2002-08-22Changed crypto calls to go through common/crypto.[hc] instead of calling ↵Matej Pjafjar
OpenSSL directly. svn:r76
2002-07-25Added the crypto abstraction to libor. Need to test and change the code to ↵Matej Pjafjar
use this instead of OpenSSL. svn:r74
2002-07-19Folded cell.? into src/orRoger Dingledine
Removed more obsolete files svn:r61
2002-07-02removed onion.c and onion.h from common/Roger Dingledine
they're now in or/onion.c svn:r21
2002-06-28added automake/autoconf support. When in doubt, "aclocal && autoconf && ↵Felipe Bergo
autoheader && automake" from the top dir. svn:r10