Commit Graph

376 Commits

Author SHA1 Message Date
Nick Mathewson
c198b6d87e r8955@totoro: nickm | 2006-10-08 22:23:17 -0400
Add some quotes to a test in configure.in, so IRIX will run the configure script without warning.


svn:r8662
2006-10-09 02:35:32 +00:00
Nick Mathewson
326495cbb4 r8948@totoro: nickm | 2006-10-08 17:04:53 -0400
Add an --enable-gcc-warnings flag to configure.in


svn:r8655
2006-10-08 21:05:11 +00:00
Roger Dingledine
f787051e85 bump to 0.1.2.2-alpha-dev. time to go wild again.
svn:r8639
2006-10-07 19:38:21 +00:00
Nick Mathewson
368eded621 r8920@totoro: nickm | 2006-10-07 11:40:06 -0400
Fix IRIX builds so that IRIX no longer self-detects as win32.  For once, this is not the fault of Windows: Apparently, some helpful person decided that the the MIPSpro C Compiler should give a warning on #error rather than actually failing.  How... "innovative."  (Bug found by pnx; thanks!)


svn:r8635
2006-10-07 15:40:33 +00:00
Roger Dingledine
b45c210012 Bump to 0.1.2.2-alpha. Not tagged yet, so somebody can find a
compile bug on an obscure platform while i'm asleep.


svn:r8634
2006-10-07 09:30:12 +00:00
Peter Palfrader
5aa83287bd r10016@danube: weasel | 2006-10-07 03:25:51 +0200
Fix a configure notice on crosscompile


svn:r8625
2006-10-07 01:26:41 +00:00
Nick Mathewson
09a2ec0192 r9107@Kushana: nickm | 2006-10-06 02:14:02 -0400
When eventdns is enabled, we can allow machines with thread-unsafe resolver functions to build multithreaded anyway.


svn:r8608
2006-10-06 15:29:33 +00:00
Nick Mathewson
841d6da218 r9103@Kushana: nickm | 2006-10-05 23:27:35 -0400
Check whether inet_aton requires libresolv.  Apparently this is another solaris thing.


svn:r8602
2006-10-06 03:27:40 +00:00
Nick Mathewson
36adc7cdd9 r8844@totoro: nickm | 2006-10-02 16:32:44 -0400
Resolve an XXXX: make sure that we are actually on 2s-complement hardware.


svn:r8576
2006-10-02 21:00:20 +00:00
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
Roger Dingledine
ef8939d5b3 bump to 0.1.1.15-rc-cvs
svn:r6132
2006-03-12 03:01:09 +00:00
Roger Dingledine
44ca1a997d bump to 0.1.1.15-rc
svn:r6126
2006-03-11 18:44:11 +00:00
Roger Dingledine
dda54db36d bump to 0.1.1.14-alpha-cvs, and we're off.
svn:r6062
2006-02-21 04:13:49 +00:00
Roger Dingledine
ae65d595ff bump to 0.1.1.14-alpha
svn:r6059
2006-02-21 03:57:44 +00:00
Roger Dingledine
bb890da4cf bump to 0.1.1.13-alpha-cvs -- progress!
svn:r5954
2006-02-10 12:26:28 +00:00
Roger Dingledine
ddb43de2d0 bump to 0.1.1.13-alpha
svn:r5951
2006-02-09 22:55:40 +00:00
Roger Dingledine
5f051574d5 Happy new year!
svn:r5949
2006-02-09 05:46:49 +00:00
Nick Mathewson
a69b96af02 Be sure to restore LDFLAGS from LDFLAGS, not from LIBS.
svn:r5902
2006-02-03 19:34:09 +00:00
Peter Palfrader
dbf2e10460 Apply Matt Ghali's --with-syslog-facility patch
svn:r5883
2006-02-01 02:15:44 +00:00
Nick Mathewson
d4393daf10 Make OpenSSL configure.in logic match libevent configure.in logic.
svn:r5873
2006-01-27 19:38:16 +00:00
Nick Mathewson
0e8072a8e7 More improvements on libevent hunting: give a good error when no libevent linkable is found at all; also try using -R to link libevent where needed.
svn:r5872
2006-01-27 18:39:40 +00:00
Nick Mathewson
2379bc557c Minor cleanup of last patch: check system before prefix, so we dont believe that libevent is /usr/local/lib when it is in /usr.
svn:r5871
2006-01-27 01:47:43 +00:00
Nick Mathewson
b28dbb5b99 Implement --with-libevent-dir. Improve libevent search techniques. May be buggy as my old apartment.
svn:r5870
2006-01-27 00:16:06 +00:00
Roger Dingledine
2c26d77bf0 bump to 0.1.1.12-alpha-cvs
svn:r5825
2006-01-12 05:08:20 +00:00
Roger Dingledine
aa070a3301 bump to 0.1.1.12-alpha
ha ha


svn:r5808
2006-01-11 22:36:32 +00:00
Roger Dingledine
a8bb654c2b bump to 0.1.1.11-alpha-cvs
svn:r5799
2006-01-11 06:19:00 +00:00
Roger Dingledine
906a2c8ef0 bump to 0.1.1.11-alpha in preparation for release
svn:r5783
2006-01-10 23:16:36 +00:00
Nick Mathewson
221fc8d709 Apply RPM-related cleanups from John Bashinski
svn:r5639
2005-12-24 04:03:39 +00:00
Roger Dingledine
c21666ca59 bump to 0.1.1.10-alpha-cvs
svn:r5558
2005-12-11 07:33:16 +00:00
Roger Dingledine
eaa864ed17 bump to 0.1.1.10-alpha
svn:r5553
2005-12-10 21:15:18 +00:00
Peter Palfrader
7a70a142f4 Also print usernames, not just numeric UIDs when we tell the user that his data directory has the wrong owner
svn:r5502
2005-12-05 01:28:10 +00:00
Roger Dingledine
276ca7ad28 link with -ldl if you need it.
svn:r5450
2005-11-23 20:15:39 +00:00
Roger Dingledine
4e77913c67 whitespace and copyright fixes on configure.in
svn:r5449
2005-11-23 20:15:23 +00:00
Roger Dingledine
6465b30f21 bump to 0.1.1.9-alpha-cvs
svn:r5387
2005-11-15 20:29:56 +00:00
Roger Dingledine
4cd7bddfc3 bump to 0.1.1.9-alpha
svn:r5374
2005-11-15 01:47:11 +00:00
Nick Mathewson
b548ce791a prefer thread-friendly dmalloc
svn:r5298
2005-10-24 18:37:45 +00:00
Nick Mathewson
48caf912a6 Bump version to 0.1.1.8-alpha-cvs
svn:r5228
2005-10-08 05:43:49 +00:00
Roger Dingledine
2b3e8ab901 bump to 0.1.1.8-alpha
svn:r5222
2005-10-07 20:17:39 +00:00
Peter Palfrader
e53f1ccbfc sparc64 doesn't like unaligned access either
svn:r5206
2005-10-06 02:55:29 +00:00
Nick Mathewson
8434595584 Fix verbose compiler warnings, including one in routerlist.c that would have been an actual error. Normalize whitespace. Enforce convention that "address" is a hostname and "addr" is an IPv4 address.
svn:r5190
2005-10-05 02:06:36 +00:00
Nick Mathewson
acc601fd36 add extra warnings to our set of disabled warnings
svn:r5158
2005-09-30 01:05:21 +00:00
Nick Mathewson
dcb6b3df6c bump version to 0.1.1.7-alpha-cvs
svn:r5093
2005-09-19 22:02:14 +00:00
Nick Mathewson
6973ef9be4 Add a touch_file() function to compat so we can update cache mtimes.
svn:r5067
2005-09-14 23:27:52 +00:00
Roger Dingledine
76e6cc0c2b bump to 0.1.1.7-alpha
svn:r5051
2005-09-14 03:59:33 +00:00
Peter Palfrader
0ceab199b0 Do not use unaligned access on some more archs
svn:r4992
2005-09-10 20:44:05 +00:00
Roger Dingledine
e782ee344a bump to 0.1.1.6-alpha-cvs
svn:r4987
2005-09-10 03:41:39 +00:00
Roger Dingledine
e58ca648c6 bump to 0.1.1.6-alpha
this time for sure


svn:r4982
2005-09-10 01:47:27 +00:00
Nick Mathewson
5f2eea29f7 Stop solaris from warning about localtime_r and friends. AFAICT, no other platforms want this.
svn:r4827
2005-08-24 02:11:33 +00:00
Roger Dingledine
fed90c300f downgrade back to 0.1.1.5-alpha-cvs
it's going to be another while


svn:r4824
2005-08-23 10:01:11 +00:00
Roger Dingledine
8adcd0bb3b bump version to 0.1.1.6-alpha
svn:r4813
2005-08-22 20:12:39 +00:00
Roger Dingledine
f9f600f032 bump to 0.1.1.5-alpha-cvs
svn:r4753
2005-08-08 22:34:24 +00:00