Commit Graph

434 Commits

Author SHA1 Message Date
Roger Dingledine
0b73569dc6 bump to 0.2.0.2-alpha and declare that today is the day
svn:r10456
2007-06-02 23:56:04 +00:00
Nick Mathewson
d216133c8e r13163@catbus: nickm | 2007-06-02 16:41:07 -0400
We do "-alpha-dev" now, not "-alpha-cvs".


svn:r10455
2007-06-02 20:41:10 +00:00
Roger Dingledine
f6880cbc6b bump to 0.2.0.1-alpha-cvs while we're in transition
svn:r10454
2007-06-02 20:22:42 +00:00
Nick Mathewson
0af91800f9 r13131@catbus: nickm | 2007-06-01 06:20:29 -0400
Test for ~/.svk/local, not ~/.svk.  Eschew use of test -a and test -o.  Bulletproof more against odd shells.


svn:r10439
2007-06-01 10:20:37 +00:00
Roger Dingledine
e64750e9a3 bump to 0.2.0.1-alpha
svn:r10437
2007-06-01 07:33:39 +00:00
Peter Palfrader
53f59a2967 We need the -dev package in both of these configure cases
svn:r10365
2007-05-27 15:20:38 +00:00
Nick Mathewson
8508347b93 r12984@catbus: nickm | 2007-05-25 19:59:41 -0400
Do not alter CPPFLAGS until we are actually done with the rest of configure.in: this way, we notice if there are library paths that we are missing.


svn:r10345
2007-05-25 23:59:47 +00:00
Nick Mathewson
bb524e99c9 r12955@catbus: nickm | 2007-05-25 13:17:30 -0400
First bare stubs of ipv6 work: commit some (untested, hence doublessly broken) implementations of inet_ntop/pton for systems that lack them.


svn:r10326
2007-05-25 18:22:37 +00:00
Nick Mathewson
f8a2d4dd83 Fix version detection on gcc 3.3.
svn:r10213
2007-05-18 21:30:23 +00:00
Nick Mathewson
b4bd9f772c r12771@catbus: nickm | 2007-05-16 18:12:32 -0400
Make -Wstrict-overflow=5 happy with GCC 4.2.  It is kind of a pain, but it does agood job of letting us know where we can make our code better by simplifying dependent conditionals.


svn:r10201
2007-05-16 22:16:13 +00:00
Nick Mathewson
e043b86f47 r12764@catbus: nickm | 2007-05-15 17:17:39 -0400
Enable (and cope with) more GCC 4.2 warnings.


svn:r10196
2007-05-15 21:17:48 +00:00
Nick Mathewson
5a41e52deb r12613@catbus: nickm | 2007-04-30 23:40:36 -0400
Use -lws2_32 when checking for event_get_version


svn:r10083
2007-05-01 03:40:40 +00:00
Nick Mathewson
8f94f0540f r12611@catbus: nickm | 2007-04-30 22:49:00 -0400
For reasons which make sense to somebody, I'm sure, mingw gcc wants the libraries to appear at the end of the command line.  This is done by specifying them with LDADD in Makefile.am, not LDFLAGS.
 If anybody can explain to me why mingw thinks "gcc -o foo foo.o -lbar" is fine, whereas "gcc -lbar -o foo foo.o" is Doubleplusbad UnMingwThink, I'd quite appreciate it.  Until then, I'll just do what seems to work, and hope we don't blunder across any other great slumbering cthonian deities of arbitrary syntax.


svn:r10082
2007-05-01 02:53:32 +00:00
Nick Mathewson
d5a23f38df r12609@catbus: nickm | 2007-04-30 22:11:59 -0400
Add wsock32 to libraries used for linking on windows.


svn:r10081
2007-05-01 02:15:11 +00:00
Nick Mathewson
fa39336e65 r12607@catbus: nickm | 2007-04-30 21:36:28 -0400
More attempt to fix win32 building.  This time, with extra linking.


svn:r10080
2007-05-01 01:36:32 +00:00
Nick Mathewson
4b250bbbb7 r12594@catbus: nickm | 2007-04-30 18:31:48 -0400
Oops: detect event_get_version and friends correctly again.


svn:r10073
2007-04-30 22:42:47 +00:00
Nick Mathewson
795aa1a196 r12351@catbus: nickm | 2007-04-11 12:09:46 -0400
More autoconf hacking: use same machinery to find zlib as for openssl and libevent.  Have unified library finder include setup for --with  variable.  Start trying to suggest to the user what packages they should install if finding the library fails.


svn:r9945
2007-04-11 16:28:44 +00:00
Nick Mathewson
28de06b8e6 r12337@catbus: nickm | 2007-04-10 17:55:26 -0400
Add support for using memory pools to allocate queued cell; pass --disable-cell-pool to configure to disable this.


svn:r9939
2007-04-11 00:30:29 +00:00
Nick Mathewson
97b61b9889 r12519@Kushana: nickm | 2007-03-10 00:57:01 -0500
Remove a redundant check for event.h; add some comments, and reformat.


svn:r9790
2007-03-10 07:38:42 +00:00
Nick Mathewson
c9e2766e75 r12461@Kushana: nickm | 2007-03-06 13:26:17 -0500
More autoconf fixes and updates. Maybe the bsd buildbots will be happy again.


svn:r9747
2007-03-06 20:25:32 +00:00
Nick Mathewson
52713788b4 r12080@catbus: nickm | 2007-03-04 21:40:55 -0500
Remove dnsworkers and related code. there goes another 550 lines of code.


svn:r9736
2007-03-05 02:40:58 +00:00
Nick Mathewson
654924dfdf r12072@catbus: nickm | 2007-03-04 14:55:36 -0500
Apparently, autoupdate is not as perfect as one might hope.


svn:r9732
2007-03-04 19:55:40 +00:00
Nick Mathewson
238a13f3e6 r12070@catbus: nickm | 2007-03-04 14:51:23 -0500
Fix a stray autoconf warning.


svn:r9731
2007-03-04 19:52:39 +00:00
Nick Mathewson
6b79e252f6 r12063@catbus: nickm | 2007-03-04 14:46:22 -0500
Bump trunk version to 0.2.0.0-alpha-dev


svn:r9730
2007-03-04 19:49:06 +00:00
Nick Mathewson
26e8656f5d r12061@catbus: nickm | 2007-03-04 14:41:10 -0500
Run configure.in through autoupdate


svn:r9729
2007-03-04 19:49:04 +00:00
Nick Mathewson
ed21e3c022 svn:r9728 2007-03-04 19:49:02 +00:00
Nick Mathewson
7c671512b8 r11612@catbus: nickm | 2007-01-30 18:14:07 -0500
make TOR_SEARCH_LIBRARY work with openssl


svn:r9727
2007-03-04 19:47:53 +00:00
Nick Mathewson
0e44371a33 r11596@catbus: nickm | 2007-01-30 01:43:40 -0500
Macro-ize our "search for a library and find out how to link against it" code.  This will help make our handling of libevent and openssl more similar, and with any luck better.  Not pushing to main branch until after 0.1.2.


svn:r9726
2007-03-04 19:47:34 +00:00
Nick Mathewson
275f39603b r12420@Kushana: nickm | 2007-03-03 15:06:53 -0500
Bump version to 0.1.2.9-rc-dev


svn:r9718
2007-03-03 20:09:07 +00:00
Roger Dingledine
629930ad16 bump to 0.1.2.9-rc
svn:r9705
2007-03-02 05:18:52 +00:00
Nick Mathewson
a5b18f8a65 r11952@catbus: nickm | 2007-02-26 12:37:06 -0500
Bump version to 0.1.2.8-beta-dev


svn:r9658
2007-02-26 17:37:09 +00:00
Roger Dingledine
38f5fac846 let us call it a beta. perhaps it will break then.
svn:r9656
2007-02-26 06:53:19 +00:00
Nick Mathewson
988092f674 r11921@catbus: nickm | 2007-02-24 14:09:12 -0500
Try to build with recent libevents on mingw.


svn:r9639
2007-02-24 19:10:35 +00:00
Nick Mathewson
759c58151e r11775@catbus: nickm | 2007-02-12 16:39:09 -0500
Update copyright dates.


svn:r9570
2007-02-12 21:39:53 +00:00
Nick Mathewson
e7f558bd27 r11684@catbus: nickm | 2007-02-07 00:46:37 -0500
Bump version to 0.1.2.7-alpha-dev


svn:r9509
2007-02-07 05:52:55 +00:00
Roger Dingledine
f1ca295d23 bump to 0.1.2.7-alpha
svn:r9507
2007-02-07 05:32:35 +00:00
Nick Mathewson
194c69e718 r11592@catbus: nickm | 2007-01-29 18:09:16 -0500
Oops.  Apparently, we weren't supposed to call our autoconf cached variables ac_cv_*; these are reserved.


svn:r9460
2007-01-29 23:09:26 +00:00
Nick Mathewson
489f6185bf Move specification documents into new doc/spec subdirectory. (Proposals, drafts, and bad ideas still remain in doc.)
svn:r9411
2007-01-26 01:59:50 +00:00
Roger Dingledine
da7f0b5366 bump to 0.1.2.6-alpha-dev so we're ready for tomorrow's
surprise release too


svn:r9314
2007-01-09 05:47:23 +00:00
Roger Dingledine
ca66074106 bump to 0.1.2.6-alpha
svn:r9311
2007-01-09 05:24:42 +00:00
Roger Dingledine
6b126ea040 bump to 0.1.2.5-alpha-dev
svn:r9278
2007-01-06 05:41:01 +00:00
Nick Mathewson
81bcab21fc r11852@Kushana: nickm | 2007-01-05 18:34:27 -0500
More missing headers in configure.in in order to solve previous openbsd in6_addr issue and prevent related issues from arising.


svn:r9273
2007-01-05 23:34:31 +00:00
Nick Mathewson
135aed5670 r11850@Kushana: nickm | 2007-01-05 17:12:08 -0500
Look in netinet/in6.h header when looking for struct in6_addr. (Issue found by saeftl.)


svn:r9272
2007-01-05 22:12:15 +00:00
Roger Dingledine
ee0d2d486d fix a bug, defer a bug, bump to 0.1.2.5-alpha
svn:r9270
2007-01-05 06:30:31 +00:00
Nick Mathewson
494e45482a r11536@Kushana: nickm | 2006-12-11 22:48:21 -0500
Add ipv6 functionality to evdns.


svn:r9089
2006-12-12 03:48:46 +00:00
Roger Dingledine
c9eb1c6d5c bump to 0.1.2.4-alpha-dev
svn:r9022
2006-12-04 18:11:31 +00:00
Roger Dingledine
c5b90daf86 cleanups, bump to 0.1.2.4-alpha
svn:r9015
2006-12-02 22:47:46 +00:00
Nick Mathewson
d97c759138 r9372@totoro: nickm | 2006-11-21 10:59:47 -0500
Small cross-compilation fixes.


svn:r8980
2006-11-21 23:50:31 +00:00
Nick Mathewson
942597bc4e r9326@totoro: nickm | 2006-11-15 16:17:35 -0500
Try to detect mipspro compiler. Add -c99 to cflags if we find it.


svn:r8955
2006-11-15 21:17:48 +00:00
Nick Mathewson
992a738c78 r9324@totoro: nickm | 2006-11-14 20:21:43 -0500
Patch from pnx to make configure.in link against libevent properly on irix64. "This time for sure--presto!".


svn:r8954
2006-11-15 01:25:06 +00:00
Nick Mathewson
e77b2d5941 r9322@totoro: nickm | 2006-11-14 15:20:28 -0500
Have libevent search include /usr/pkg. This may make irix happier.


svn:r8953
2006-11-14 20:20:42 +00:00
Nick Mathewson
00fdcf27f5 r9478@Kushana: nickm | 2006-11-05 10:52:29 -0500
add includes to AC_CHECK_MEMBERS test for timeval.tv_sec.


svn:r8906
2006-11-05 15:52:33 +00:00
Roger Dingledine
a5f402e245 and then bump to 0.1.2.3-alpha-dev
svn:r8863
2006-10-30 03:29:33 +00:00
Roger Dingledine
bc6eadd20e clean changelog, bump to 0.1.2.3-alpha
svn:r8860
2006-10-30 02:55:17 +00:00
Nick Mathewson
6fb9d3b644 r9384@Kushana: nickm | 2006-10-24 22:51:42 -0400
Libevent-1.2 exports, but does not define in its headers, strlcpy.  Try to fix this in configure.in by checking for most functions before we check for libevent.


svn:r8826
2006-10-25 02:51:45 +00:00
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