aboutsummaryrefslogtreecommitdiff
path: root/src/common/Makefile.am
Commit message (Collapse)AuthorAge
* Rename log.h to torlog.hNick Mathewson2010-07-09
| | | | | | | | | | 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/; }'
* Fix compilation on OpenSSLs with unusual state lists.Nick Mathewson2009-09-24
| | | | | | | "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.)
* Refactor unit tests to use the tinytest framework.Nick Mathewson2009-09-23
| | | | | | | | | | | | | | | | | | | "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.
* Add a SHA256 implementation for platforms that lack it.Nick Mathewson2009-08-20
| | | | | | | | | | (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.
* Update Tor to use Libevent 2.0 APIs when available.Nick Mathewson2009-06-12
| | | | | | | | | | 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).
* Include the *_sha1.i files in their own *_codedigest.c files.Nick Mathewson2009-05-08
| | | | | 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.
* Command-line option to dump SHA1 digests of all source files.Nick Mathewson2009-04-29
| | | | | | | | | 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.
* r17358@pc-10-8-1-079: nickm | 2008-07-25 16:41:03 +0200Nick Mathewson2008-07-25
| | | | | | | 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
* r16215@tombo: nickm | 2008-06-12 18:39:03 -0400Nick Mathewson2008-06-12
| | | | | | | 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
* r19049@catbus: nickm | 2008-03-26 12:33:25 -0400Nick Mathewson2008-03-26
| | | | | | | 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
* r18138@catbus: nickm | 2008-02-18 13:13:18 -0500Nick Mathewson2008-02-18
| | | | | | | Try to make conditional include logic for openbsd malloc not warn on arma's computer. May fix bug 610. svn:r13557
* r18123@catbus: nickm | 2008-02-17 14:08:45 -0500Nick Mathewson2008-02-17
| | | | | | | Fix capitalization error svn:r13545
* r14238@tombo: nickm | 2008-02-17 14:03:44 -0500Nick Mathewson2008-02-17
| | | | | | | 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
* r12335@catbus: nickm | 2007-04-10 16:53:48 -0400Nick Mathewson2007-04-11
| | | | | | | Initial version of memory pool logic. Needs unit tests. Made to be easily separable from Tor. svn:r9937
* Replace balanced trees with hash tables: this should make stuff ↵Nick Mathewson2005-11-23
| | | | | | significantly faster. svn:r5441
* Make Tor use Niels Provos's libevent instead of it's currentNick Mathewson2005-01-12
| | | | | | | | | | | | 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
* Split util into util (general utilities), container (smartlist and strmap), ↵Nick Mathewson2004-11-01
| | | | | | and compat (cross-platform compatability). svn:r2640
* Only tor and test binaries need to link against openssl and zlib; ↵Nick Mathewson2004-10-30
| | | | | | tor-resolve can be smaller. svn:r2629
* Add basic wrappers for zlib/gzipNick Mathewson2004-09-02
| | | | svn:r2324
* ship strlcat and strlcpy with the tarball, but don't compile themRoger Dingledine2004-03-19
| | | | svn:r1297
* Include strlcpy and strlcat where not available, so our string ops can be ↵Nick Mathewson2004-03-17
| | | | | | less error-prone. svn:r1289
* Add initial interfaces and code for TLS support. Interfaces are right; code ↵Nick Mathewson2003-09-04
| | | | | | needs work and testing. svn:r424
* include torint.h in 'make dist'Roger Dingledine2003-08-14
| | | | svn:r401
* Add AES counter-mode support to the crypt libraryNick Mathewson2003-06-30
| | | | svn:r362
* remove obsolete ss.hRoger Dingledine2003-06-18
| | | | svn:r336
* still removing version.hRoger Dingledine2003-05-09
| | | | svn:r286
* Factor out timeval-related functions.Nick Mathewson2003-04-16
| | | | svn:r237
* let the 'test' binary build from the source distribRoger Dingledine2003-04-08
| | | | svn:r228
* removing more unused filesRoger Dingledine2002-11-25
| | | | svn:r141
* remove popt dependency, consolidate config stuffRoger Dingledine2002-11-23
| | | | | | | reformat parts of onion.c svn:r136
* Port to MacOS XNick Mathewson2002-09-03
| | | | svn:r88
* Changed crypto calls to go through common/crypto.[hc] instead of calling ↵Matej Pjafjar2002-08-22
| | | | | | OpenSSL directly. svn:r76
* Added the crypto abstraction to libor. Need to test and change the code to ↵Matej Pjafjar2002-07-25
| | | | | | use this instead of OpenSSL. svn:r74
* Folded cell.? into src/orRoger Dingledine2002-07-19
| | | | | | | Removed more obsolete files svn:r61
* removed onion.c and onion.h from common/Roger Dingledine2002-07-02
| | | | | | | they're now in or/onion.c svn:r21
* added automake/autoconf support. When in doubt, "aclocal && autoconf && ↵Felipe Bergo2002-06-28
autoheader && automake" from the top dir. svn:r10