Commit Graph

329 Commits

Author SHA1 Message Date
Nick Mathewson
3ef3fcae55 r9081@totoro: nickm | 2006-10-19 11:00:51 -0400
Try to detect windows properly when cross-compiling


svn:r8755
2006-10-19 15:02:06 +00:00
Nick Mathewson
edbda1c126 r8987@totoro: nickm | 2006-10-10 19:46:08 -0400
Remove -Winline from standard list, add -Wswitch-enum.


svn:r8687
2006-10-10 23:46:51 +00:00
Nick Mathewson
93b9209e59 r8986@totoro: nickm | 2006-10-10 19:40:28 -0400
Make --enable-gcc-warnings work on gcc3.3, not just on gcc4.0


svn:r8686
2006-10-10 23:46:47 +00:00
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