Nick Mathewson
517b9c602a
Merge remote-tracking branch 'public/bug2297'
2012-05-16 11:14:00 -04:00
Nick Mathewson
a925fc9189
Merge remote-tracking branch 'public/bug2822'
2012-05-16 11:10:09 -04:00
Nick Mathewson
a3046fd5e5
Merge remote-tracking branch 'origin/maint-0.2.2'
2012-05-16 10:57:08 -04:00
Nick Mathewson
3ed4c5dc05
Correct the bulletproofing of routerlist_insert()
...
The original code updated some variables, but forgot to remove a
replaced old-routerdesc from rl->old_routers.
Related to bug 1776.
2012-05-16 10:51:02 -04:00
Nick Mathewson
ee246bbe95
Merge remote-tracking branch 'public/bug3296'
2012-05-16 10:40:21 -04:00
Nick Mathewson
891cf72f71
Merge branch 'bug5095_squashed'
2012-05-16 10:36:30 -04:00
Nick Mathewson
b41dd8069f
When ReloadTorrcOnSIGHUP=1, do non-reload activities anyway
...
Previously, we skipped everything that got invoked from
options_init_from_torrc. But some of the stuff in
options_act_reversible and options_act is actually important, like
reopening the logs.
Now, a SIGHUP always makes the effects of an options_set() happen,
even though the options haven't changed.
Fix for bug 5095; bugfix on 0.2.1.9-alpha, which introduced
__ReloadTorrcOnSIGHUP.
2012-05-16 10:36:21 -04:00
Nick Mathewson
d9ceab5bc3
Fix some remaining nmake/msvc build issues
2012-05-16 10:08:24 -04:00
Nick Mathewson
d5ccaa6e2b
Merge branch 'win32_winnt'
2012-05-16 09:56:49 -04:00
Nick Mathewson
1150b6b43e
Merge remote-tracking branch 'origin/maint-0.2.2'
2012-05-15 11:23:06 -04:00
Nick Mathewson
8e07798284
Clarify MaxCircuitDirtiness behavior with hidden services. Bug 5259.
2012-05-15 11:22:06 -04:00
Nick Mathewson
521cb58187
Merge remote-tracking branch 'origin/maint-0.2.2'
2012-05-15 10:05:19 -04:00
Nick Mathewson
5905a0b2db
Merge branch 'bug5796_022_squashed' into maint-0.2.2
2012-05-15 10:04:49 -04:00
Nick Mathewson
f2a6eedded
Fix a crash bug on SETCIRCUITPURPOSE.
2012-05-15 10:03:10 -04:00
Nick Mathewson
92cba63459
Merge remote-tracking branch 'origin/maint-0.2.2'
2012-05-15 10:01:12 -04:00
Nick Mathewson
0be946c693
Merge remote-tracking branch 'karsten/geoip-may2012' into maint-0.2.2
2012-05-15 10:00:51 -04:00
Nick Mathewson
009453f919
Merge remote-tracking branch 'linus/task-5891'
2012-05-15 08:33:08 -04:00
Linus Nordberg
ad61282f0c
Clarify changes file regarding which bugs get fixed.
2012-05-15 13:31:54 +02:00
Linus Nordberg
fd71fe78ae
Rename changes file.
2012-05-15 13:28:20 +02:00
Linus Nordberg
e3716598fc
Assert that rep_hist_format_desc_stats() returns !NULL.
...
The guard against this is the test for
start_of_served_descs_stats_interval != 0 done earlier.
2012-05-15 13:12:34 +02:00
Karsten Loesing
57359b5336
Fix desc stats on bridge authorities that didn't serve anything.
2012-05-15 12:39:08 +02:00
Nick Mathewson
21e3261914
Bump _WIN32_WINNT to 0x0501 throughout the code
...
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-14 13:46:37 -04:00
Nick Mathewson
9ffccb3f49
Remove all instances of WIN32_WINNT (without leading _)
...
We started adding it in 59e2c77824
back in 2004, 8 years and 3
days ago. It's time to deprogram ourselves from this cargo cult.
2012-05-14 13:36:52 -04:00
Nick Mathewson
ee1b8196d3
Add a changes file for the misc bug5859 build issues
2012-05-14 13:07:47 -04:00
Nick Mathewson
d8de831932
MSVC build issue: it can't tell that tor_assert(0) aborts.
2012-05-14 13:07:27 -04:00
Nick Mathewson
43e15300ba
MSVC build issue: make 'const' in declaration match 'const' in definition
...
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-14 13:05:36 -04:00
Nick Mathewson
757725ffde
MSVC build issue: we use INLINE as the one that will magically work
2012-05-14 13:04:37 -04:00
Nick Mathewson
7134be0637
MSVC build issue: add magic to make openssl headers in aes.c work
2012-05-14 13:04:13 -04:00
Nick Mathewson
02d206a58b
Be a good git person: store nmakefiles in correct text fmt
2012-05-14 13:01:05 -04:00
Nick Mathewson
f1fca8aa4d
Remove the unused torrc.bridge.in. Bug 5622.
2012-05-14 12:37:39 -04:00
Nick Mathewson
67690307fb
Add some MSVC stuff to gitignore
2012-05-14 12:35:10 -04:00
Nick Mathewson
c5e87ef234
We do not need to define _WIN32 by hand; MSVC does that for us
...
Bug 5858; fix on 0.2.3.12-alpha
2012-05-14 12:22:51 -04:00
Nick Mathewson
b6028b9e8b
Fix win32 compilation of 31eb73f88e
2012-05-14 12:08:05 -04:00
Nick Mathewson
31eb73f88e
Do not publish the "git-XXX" tag in server descriptors
...
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-11 18:06:12 -04:00
Nick Mathewson
a2f0e7a65b
Cut down on the OS information we give.
...
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-11 17:52:53 -04:00
Nick Mathewson
4bac223311
Fix a couple of wide lines
2012-05-11 13:01:07 -04:00
Nick Mathewson
0888c2f8f5
When no usable exit satisfies a predicted port, stop predicting it.
...
Fix for bug 3296.
2012-05-11 12:52:21 -04:00
Nick Mathewson
e0655708a2
Merge remote-tracking branch 'asn/bug4865_take2'
2012-05-11 11:52:51 -04:00
Nick Mathewson
84ddc4b6aa
Merge remote-tracking branch 'public/bug5091'
2012-05-11 11:45:40 -04:00
Roger Dingledine
648db9a4b7
Merge branch 'maint-0.2.2'
2012-05-10 17:57:31 -04:00
Roger Dingledine
436654ee96
fix over-wide line from f661747370
2012-05-10 17:46:19 -04:00
Nick Mathewson
02a650786b
Fix O(n^2) performance when parsing a big pile of extrainfos
...
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-10 17:41:31 -04:00
Nick Mathewson
62f8e3926d
Merge remote-tracking branch 'public/bug4591'
2012-05-10 15:55:12 -04:00
Nick Mathewson
0b1a334842
Merge branch 'bug5786'
2012-05-10 15:44:41 -04:00
Nick Mathewson
c78a42685f
Merge remote-tracking branch 'origin/maint-0.2.2'
...
Conflicts:
src/common/util.c
src/test/test_util.c
2012-05-10 15:41:04 -04:00
Nick Mathewson
79c4c8195a
Merge branch 'bug5786_range_022' into maint-0.2.2
2012-05-10 15:38:57 -04:00
Nick Mathewson
1cf970c3db
Merge remote-tracking branch 'asn/bug5540'
2012-05-10 14:24:17 -04:00
Nick Mathewson
e30a4311e2
Merge remote-tracking branch 'linus/bug5146'
2012-05-10 14:07:23 -04:00
Nick Mathewson
8c09923f20
Merge remote-tracking branch 'origin/maint-0.2.2'
2012-05-10 11:50:14 -04:00
Ravi Chandra Padmala
5bbf04dc97
Add changes/bug5760
2012-05-10 12:55:33 +05:30