Commit Graph

317 Commits

Author SHA1 Message Date
Nick Mathewson
95132f836a r8750@totoro: nickm | 2006-09-27 20:52:01 -0400
Fix some warnings on mingw; hopefully this should let us build on mingw without warnings.


svn:r8509
2006-09-28 00:53:02 +00:00
Nick Mathewson
b1ad605780 Build correctly for use on OS X platforms with case-sensitive filesystems
svn:r8487
2006-09-24 21:45:02 +00:00
Nick Mathewson
2d4950c837 Malloc and friends are critical-path: Thus, add an it-wont-happen branch prediction for NULL returns, and skip the malloc(0) check on platforms where malloc(0) returns a pointer.
svn:r8431
2006-09-19 22:36:48 +00:00
Nick Mathewson
c063c7b8cb r8757@Kushana: nickm | 2006-09-07 13:07:46 -0400
Fix more compile warnings on Woody.


svn:r8349
2006-09-07 19:00:51 +00:00
Mike Chiussi
91d7ad660f - fixed up typos in eventdns.c
- configure lets user build with eventdns on win32


svn:r8332
2006-09-07 00:51:20 +00:00
Nick Mathewson
dffa692d05 r8723@Kushana: nickm | 2006-09-06 04:24:54 -0400
Clean up configure.in spaces, and make it work on Mac OS X again (for me).


svn:r8325
2006-09-06 08:42:12 +00:00
Mike Chiussi
6ec9c1092a - made configure check if we are building for win32
- made configure link to required system dll's if building for win32
- added diffs for libevent 1.1b
- forced user to turn off eventdns if win32 is set 
- cleaned up tor_mmap_file()_win32 (not sure if it's stable)
- cleaned up some warnings and typos




svn:r8322
2006-09-06 01:49:55 +00:00
Nick Mathewson
39f0feb887 r8709@Kushana: nickm | 2006-09-02 20:59:54 -0400
Remove unused autoconf checks.


svn:r8319
2006-09-03 02:13:56 +00:00
Nick Mathewson
7cd08b2cca r8704@Kushana: nickm | 2006-09-02 01:32:34 -0400
correct includes for net/if.h and net/pfvar.h on openbsd (from Tup)


svn:r8316
2006-09-02 05:33:11 +00:00
Nick Mathewson
c38cc0eb4a r8606@Kushana: nickm | 2006-08-27 14:04:19 -0400
Now that 0.1.2.1-alpha is out, make eventdns on-by-default again. (Hoop-lah.)


svn:r8253
2006-08-28 03:15:47 +00:00
Roger Dingledine
30b8017005 bump trunk to 0.1.2.1-alpha-dev
svn:r8251
2006-08-28 03:01:07 +00:00
Roger Dingledine
e744117d4d turn eventdns off by default until we can get some more useful
log messages into it. no use learning that it's broken without
being able to learn what is broken too.


svn:r8245
2006-08-27 07:26:00 +00:00
Roger Dingledine
389b7999c6 bump to 0.1.2.1-alpha
(does it work?)


svn:r8244
2006-08-27 07:03:17 +00:00
Nick Mathewson
3ba39a768a r8556@Kushana: nickm | 2006-08-22 01:22:46 -0400
Enable eventdns by default on platforms where we autoconf.  This should be everything but windows.


svn:r8214
2006-08-22 06:10:53 +00:00
Nick Mathewson
09a895e222 r7324@Kushana: nickm | 2006-08-10 23:23:15 -0700
Add more warnings to the list of those we tolerate. Start using GCC attributes more, for better error checking and better code generation.


svn:r7020
2006-08-11 07:09:17 +00:00
Nick Mathewson
b07525d316 r7323@Kushana: nickm | 2006-08-10 22:04:57 -0700
Add sys/socket.h prereq for net/if.h and net/pfvar.h


svn:r7019
2006-08-11 07:09:09 +00:00
Nick Mathewson
0a7d5b8371 r7315@Kushana: nickm | 2006-08-10 02:30:13 -0700
add missing "test" and missing include.


svn:r7015
2006-08-10 09:30:25 +00:00
Nick Mathewson
c6c4f64835 r7313@Kushana: nickm | 2006-08-10 02:13:35 -0700
Add missing .h to header file name. My bad.


svn:r7013
2006-08-10 09:14:57 +00:00
Nick Mathewson
d893d8c52e r7300@Kushana: nickm | 2006-08-10 01:36:40 -0700
Distinguish netfilter vs pf at configure time based on headers, not on OS.


svn:r7008
2006-08-10 09:01:46 +00:00
Nick Mathewson
5cff4164a0 r7299@Kushana: nickm | 2006-08-10 01:08:58 -0700
Patch from Tup to add support for transparent AP connections: this basically bundles the functionality of trans-proxy-tor into the tor mainline.  Now hosts with compliant pf/netfilter implementations can redirect TCP connections straight to Tor without diverting through SOCKS.


svn:r7007
2006-08-10 09:01:37 +00:00
Andrew Lewman
7498d31b09 Remove the last vestiges of launchd plist.
svn:r6938
2006-07-30 03:53:18 +00:00
Andrew Lewman
47bf7abc1a Added net.freehaven.tor.plist to AC_OUTPUT
svn:r6769
2006-07-17 03:57:21 +00:00
Peter Palfrader
4baeeae614 Fix configure.in to not produce broken configure files with more recent
versions of autoconf.  Thanks to Clint for his auto* voodoo.


svn:r6632
2006-06-16 02:04:04 +00:00
Roger Dingledine
53d63e25a5 start checking for limits.h too. we should resume compiling
on irix64 and other weird platforms now.


svn:r6624
2006-06-14 23:21:22 +00:00
Nick Mathewson
b7ca697faf More eventdns.c patches: use HAVE_ALLOCA_H; print IP addrs as dotted quads.
svn:r6535
2006-06-05 01:59:12 +00:00
Nick Mathewson
853e2d99b6 Add a new warning to our "warn a lot" list: unused parameters. This means we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.)
svn:r6532
2006-06-04 22:42:13 +00:00
Nick Mathewson
7cb3232ade Add async dns code from Adam Langley, tweaked to build on OSX. Long-term, we may want to switch to libevnet/c-ares, if they ever handle 10k fd situations properly. This one still needs work too, but at least it is small. This code is disabled by default, and not integrated with dns.c.
svn:r6524
2006-06-03 19:49:42 +00:00
Nick Mathewson
64d487a2d6 Add a basic mmap function, with a "fake-it" wrapper to do read_file_from_str instead. Based on code from Michael Mohr.
svn:r6510
2006-05-28 16:54:39 +00:00
Roger Dingledine
9f005ae66b build the Makefile in contrib/suse/ too
svn:r6502
2006-05-26 13:51:20 +00:00
Andrew Lewman
0cdba91de5 Let AC_OUTPUT know about contrib/suse/tor.sh and we only need tor.sh
from contrib/suse


svn:r6501
2006-05-26 13:42:28 +00:00
Nick Mathewson
c1054ffe92 Patch from Michael Mohr to fix cross-compilation. Backport candidate. Tweaked to use sensible defaults for NULL_REP_IS_ZERO_BYTES and TIME_T_IS_SIGNED.
svn:r6474
2006-05-23 08:38:18 +00:00
Nick Mathewson
89a8411ace Throw out this UNALIGNED_INT_ACCESS_OK nonsense. Even where it works, it is often way way slower than doing the right thing. Backport candidate.
svn:r6473
2006-05-23 08:23:03 +00:00
Roger Dingledine
37c77c71f7 0.1.2.0-alpha-cvs!
svn:r6375
2006-04-10 20:21:55 +00:00
Roger Dingledine
9a34c32ec3 bump to 0.1.1.18-rc
svn:r6351
2006-04-10 05:58:20 +00:00
Roger Dingledine
0567506feb one preposition is better than two, sometimes.
svn:r6270
2006-03-29 00:57:49 +00:00
Roger Dingledine
e7fbdcf70e bump to 0.1.1.17-rc-cvs
so much for 'release candidate'


svn:r6265
2006-03-28 11:30:57 +00:00
Roger Dingledine
26eb815f73 bump to 0.1.1.17-rc
svn:r6261
2006-03-28 07:45:23 +00:00
Nick Mathewson
74d35c8027 On non-gcc compilers, use -g -O instead of -Wall -g -O2: resolve bug 273.
svn:r6245
2006-03-27 00:43:39 +00:00
Nick Mathewson
68b3b3ee7c Oops; give error earlier when no runnable libevent is found. Grep reveals no more errors of this type in configure.in
svn:r6210
2006-03-21 19:01:34 +00:00
Roger Dingledine
b62f0091e4 and now resume building on netbsd 2.0
insert circus music here


svn:r6199
2006-03-19 22:21:17 +00:00
Roger Dingledine
ed82152ab7 resume building on irix64
svn:r6198
2006-03-19 20:36:26 +00:00
Roger Dingledine
88b67d48f0 bump to 0.1.1.16-rc-cvs so we can start fixing more bugs
svn:r6197
2006-03-19 04:43:36 +00:00
Roger Dingledine
bcc19b0f83 which brings us to 0.1.1.16-rc
svn:r6195
2006-03-19 04:02:11 +00:00
Roger Dingledine
de5fac0ed1 remove extraneous (i hope) include from the openssl detection
svn:r6160
2006-03-14 22:56:45 +00:00
Roger Dingledine
c61ce09649 fix some punctuation and tabs
svn:r6154
2006-03-13 18:09:30 +00:00
Nick Mathewson
f8d4758a26 fix a flipped boolean. I had mistakenly assumed my OSX latptop was my friend
svn:r6152
2006-03-13 06:40:37 +00:00
Nick Mathewson
331438b8ab Add a missing include in ssl version test.
svn:r6151
2006-03-13 06:23:24 +00:00
Nick Mathewson
5762d52894 Another configure.in fix. We copied some idiocy from our example "look for openssl" code where we skipped checking for the presence of header files when deciding whether we needed a -L or -I option. This broke the case where openssl/libevent was in our default linker search path, but not our default cpp search path. Thanks go to cat-"pathological case"-xeger and her Solaris box.
svn:r6149
2006-03-13 05:42:19 +00:00
Nick Mathewson
b318bd8989 Fix a couple of bugs in OpenSSL detection. Also, deal better when there are multiple SSLs installed.
svn:r6148
2006-03-13 04:58:46 +00:00
Nick Mathewson
0c132ee2a1 Instead of listing a set of compilers that prefers __func__ to __FUNCTION__, use autoconf. Also, prefer __func__ in our own code: __func__ is a C99 standard, whereas __FUNCTION__ is not. [Fixes bug 254.]
svn:r6144
2006-03-13 00:25:36 +00:00