Commit Graph

402 Commits

Author SHA1 Message Date
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
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