summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-05-14Bump _WIN32_WINNT to 0x0501 throughout the codeNick Mathewson
This tells the windows headers to give us definitions that didn't exist before XP -- like the ones that we need for IPv6 support. See bug #5861. We didn't run into this issue with mingw, since mingw doesn't respect _WIN32_WINNT as well as it should for some of its definitions.
2012-05-14Remove all instances of WIN32_WINNT (without leading _)Nick Mathewson
We started adding it in 59e2c77824840f back in 2004, 8 years and 3 days ago. It's time to deprogram ourselves from this cargo cult.
2012-05-14Add a changes file for the misc bug5859 build issuesNick Mathewson
2012-05-14MSVC build issue: it can't tell that tor_assert(0) aborts.Nick Mathewson
2012-05-14MSVC build issue: make 'const' in declaration match 'const' in definitionNick Mathewson
MSVC warns if you declare a function as having a "int foo" argument and then implement it with a "const int foo" argument, even though the latter "const" is not a part of the function's interface.
2012-05-14MSVC build issue: we use INLINE as the one that will magically workNick Mathewson
2012-05-14MSVC build issue: add magic to make openssl headers in aes.c workNick Mathewson
2012-05-14Be a good git person: store nmakefiles in correct text fmtNick Mathewson
2012-05-14Remove the unused torrc.bridge.in. Bug 5622.Nick Mathewson
2012-05-14Add some MSVC stuff to gitignoreNick Mathewson
2012-05-14We do not need to define _WIN32 by hand; MSVC does that for usNick Mathewson
Bug 5858; fix on 0.2.3.12-alpha
2012-05-14Fix win32 compilation of 31eb73f88e8Nick Mathewson
2012-05-11Do not publish the "git-XXX" tag in server descriptorsNick Mathewson
Instead, allow packagers to put a 'TOR_BUILD_TAG' field in the server descriptor to indicate a platform-specific value, if they need to. (According to weasel, this was his use for the git- tag previously.) This is part of 2988
2012-05-11Cut down on the OS information we give.Nick Mathewson
For uname-based detection, we now give only the OS name (e.g., "Darwin", "Linux".) For Windows, we give only the Operating System name as inferred from dw(Major|Minor)version, (e.g., "Windows XP", "Windows 7"), and whether the VER_NT_SERVER flag is set. For ticket 2988.
2012-05-11Fix a couple of wide linesNick Mathewson
2012-05-11Merge remote-tracking branch 'asn/bug4865_take2'Nick Mathewson
2012-05-11Merge remote-tracking branch 'public/bug5091'Nick Mathewson
2012-05-10Merge branch 'maint-0.2.2'Roger Dingledine
2012-05-10fix over-wide line from f661747370Roger Dingledine
2012-05-10Fix O(n^2) performance when parsing a big pile of extrainfosNick Mathewson
We were doing an O(n) strlen in router_get_extrainfo_hash() for every one we tried to parse. Instead, have router_get_extrainfo_hash() take the length of the extrainfo as an argument, so that when it's called from extrainfo_parse_from_string(), it doesn't do a strlen() over the whole pile of extrainfos.
2012-05-10Merge remote-tracking branch 'public/bug4591'Nick Mathewson
2012-05-10Merge branch 'bug5786'Nick Mathewson
2012-05-10Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: src/common/util.c src/test/test_util.c
2012-05-10Merge branch 'bug5786_range_022' into maint-0.2.2Nick Mathewson
2012-05-10Merge remote-tracking branch 'asn/bug5540'Nick Mathewson
2012-05-10Merge remote-tracking branch 'linus/bug5146'Nick Mathewson
2012-05-10Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2012-05-10Add changes/bug5760Ravi Chandra Padmala
2012-05-10Add missing CRLFs to AUTHCHALLENGE failure repliesRavi Chandra Padmala
Fix #5760
2012-05-08Fix a segfault in pt/protocol testNick Mathewson
Now that the pt code logs mp->argv[0] all over the place, we need to be sure to set up mp->argv in our tests. Bugfix on e603692adcd, not in any released version.
2012-05-07Detect out-of-bounds bwweightscale values early in the voting processNick Mathewson
If the authorities agreed on a sufficiently bad bwweightscale value (<=0 or == INT32_MAX), the bandwidth algorithm could make the voters assert while computing the consensus. Fix for bug5786; bugfix on 0.2.2.17-alpha
2012-05-07Check more thoroughly for dups when parsing networkstatus parametersNick Mathewson
See changes file for details. Partial fix for bug 5786; fix on 0.2.2.2-alpha.
2012-05-07Handle out-of-range values in tor_parse_* integer functionsNick Mathewson
The underlying strtoX functions handle overflow by saturating and setting errno to ERANGE. If the min/max arguments to the tor_parse_* functions are equal to the minimum/maximum of the underlying type, then with the old approach, we wouldn't treat a too-large value as genuinely broken. Found this while looking at bug 5786; bugfix on 19da1f36 (in Tor 0.0.9), which introduced these functions.
2012-05-07Apply a patch from Gisle Vanem to make tor-gencert build under MSVCNick Mathewson
(Note: It makes sense to use tor-gencert on Windows for testing purposes only. If you are a directory authority operator, and you are contemplating running tor-gencert on a Windows box in an actual production environment, you are probably making a mistake.)
2012-05-07Merge branch 'bug5645_take2'Nick Mathewson
2012-05-07Make a cast less const-violating; make a field size explicit.Nick Mathewson
2012-05-07Reorder rend_mid_rendezvous() to do protocol violation checks on top.George Kadianakis
2012-05-07Merge branch 'bug5070_take2'Nick Mathewson
2012-05-07Using %d to printf an enum may not be by-the-standard okay.Nick Mathewson
2012-05-07Fix an overwide lineNick Mathewson
2012-05-07Fix comments: There is no such thing as a NUL pointerNick Mathewson
2012-05-07Changes file for bug 5070Nick Mathewson
2012-05-07Document some transports.c behaviors and assumptionsNick Mathewson
2012-05-07fix quad typo in commentsRoger Dingledine
i assume if nickm maintained "libeven" this would never have been introduced. :)
2012-05-04Fix bug 5762: detect missing accept4 that gives ENOSYSNick Mathewson
We had been checking for EINVAL, but that means that SOCK_* isn't supported, not that the syscall itself is missing. Bugfix on 0.2.3.1-alpha, which started to use accept4.
2012-05-03Ignore [::] when building descriptors.Linus Nordberg
This is how IPv6 says "0.0.0.0" and something we will have to translate into a globally reachable address before putting it in a descriptor. The fix is a short term solution until a real one is implemented. Closes #5146.
2012-05-03Make transports.c logs a bit more helpful.George Kadianakis
2012-05-01Add a missing ntohl to tell_controller_about_resolve_resultNick Mathewson
Fix for bug 5723; bugfix on 0.2.3.1-alpha (commit 22f723e4)
2012-04-30bump to 0.2.3.15-alpha-devRoger Dingledine
2012-04-30bump to 0.2.3.15-alphator-0.2.3.15-alphaRoger Dingledine