- 25 May, 2007 1 commit
-
-
Nick Mathewson authored
First bare stubs of ipv6 work: commit some (untested, hence doublessly broken) implementations of inet_ntop/pton for systems that lack them. svn:r10326
-
- 24 May, 2007 1 commit
-
-
Nick Mathewson authored
Add math functions to round values to the nearest power of 2. Make mempools more careful about making sure that the size of their chunks is a little less than a power of 2, not a little more. svn:r10304
-
- 22 May, 2007 1 commit
-
-
Nick Mathewson authored
Partial backport candidate: do not rely on finding a \0 after an mmaped() router/extrainfo file. Also, set journal length correctly when starting up. svn:r10248
-
- 29 Mar, 2007 1 commit
-
-
Nick Mathewson authored
svn:r9914
-
- 09 Mar, 2007 1 commit
-
-
Nick Mathewson authored
Excise PREDICT and PREDICT_FALSE in favor of PREDICT_LIKELY and PREDICT_UNLIKELY. svn:r9781
-
- 06 Mar, 2007 1 commit
-
-
Nick Mathewson authored
More unit tests: gcov is fun. svn:r9748
-
- 24 Feb, 2007 1 commit
-
-
Roger Dingledine authored
svn:r9627
-
- 16 Feb, 2007 1 commit
-
-
Nick Mathewson authored
Move all struct-offset-manipulation macros into util.h, and use them consistently. Because there are days when "SUBTYPE_P(handle, subtype, _base)" is just easier to read and write than "(basetp*)(((handle) - STRUCT_OFFSET(subtype, _base))". svn:r9592
-
- 12 Feb, 2007 2 commits
-
-
Nick Mathewson authored
Update copyright dates. svn:r9570
-
Nick Mathewson authored
Handle errors on opening cached-routers* more uniformly and sanely: log not-found errors at level INFO, and all other errors at level WARN. Needs testing on win32. svn:r9569
-
- 05 Feb, 2007 1 commit
-
-
Nick Mathewson authored
Add documentation to src/common/*.h; improve documentation for SMARTLIST_FOREACH; remove never-used options and corresponding tests from tor_strpartition. svn:r9483
-
- 02 Feb, 2007 1 commit
-
-
Nick Mathewson authored
Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch! svn:r9477
-
- 01 Feb, 2007 1 commit
-
-
Nick Mathewson authored
Call stat() slightly less often; use fstat() when possible. svn:r9472
-
- 29 Dec, 2006 1 commit
-
-
Nick Mathewson authored
Remove dead code; make targets of addressmap commands/configs use AllowNonRFC953Hostnames svn:r9211
-
- 15 Dec, 2006 1 commit
-
-
Nick Mathewson authored
Add a rudimentary line-wrapping function for use in dumping comments in config files. svn:r9132
-
- 19 Oct, 2006 1 commit
-
-
Nick Mathewson authored
Add unit tests for tor_mmap_file(); make tor_mmap_t.size always be the size of the file (not the size of the mapping); add an extra argument to read_file_to_str() so it can return the size of the result string. svn:r8762
-
- 02 Oct, 2006 1 commit
-
-
Nick Mathewson authored
Move is_local_IP to config.c; have it check for same-/24; make it used only for reachability (not for banwidth, because that is probably not what we want). Fixes an XXX. svn:r8578
-
- 25 Sep, 2006 1 commit
-
-
Nick Mathewson authored
svn:r8498
-
- 19 Sep, 2006 1 commit
-
-
Nick Mathewson authored
NEEDS REVIEW. Act on previous comment, and handle named servers differently: now, we allow multiple servers with the same name in the routerlist even if that name is reserved, but we check whether names are reserved when we try to look up routers by nickname. This is a minor security fix. This makes router_add_to_routerlist O(1). This is a backport candidate. svn:r8433
-
- 09 Sep, 2006 1 commit
-
-
Roger Dingledine authored
svn:r8358
-
- 11 Aug, 2006 5 commits
-
-
Nick Mathewson authored
Amazing how much difference adding a ! to all your asserts can make. svn:r7029
-
Nick Mathewson authored
Only use __builtin_offsetof with gcc 4 or later svn:r7028
-
Nick Mathewson authored
And another GCC change: predict that tor_frees() are usually real frees, and tor_asserts() usually wont happen. Other test should wait till -fprofile-arcs svn:r7022
-
Nick Mathewson authored
Use gcc offsetof where available. svn:r7021
-
Nick Mathewson authored
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
-
- 31 Jul, 2006 1 commit
-
-
Nick Mathewson authored
Add a utility function to verify that a string has been through strlower. svn:r6959
-
- 23 Jul, 2006 1 commit
-
-
Nick Mathewson authored
Add a mem_is_zero function (I think we will need this) and a STRUCT_OFFSET macro (we already need this). svn:r6810
-
- 06 Jul, 2006 1 commit
-
-
Roger Dingledine authored
the node operator, since he can't do anything about it. svn:r6733
-
- 04 Jul, 2006 1 commit
-
-
Roger Dingledine authored
svn:r6710
-
- 18 Jun, 2006 2 commits
-
-
Nick Mathewson authored
perhaps the reason I rail against cut-and-paste programming so vehemently is that I am so bad at it. svn:r6638
-
Nick Mathewson authored
svn:r6635
-
- 15 Mar, 2006 2 commits
-
-
Roger Dingledine authored
svn:r6170
-
Roger Dingledine authored
svn:r6168
-
- 13 Mar, 2006 1 commit
-
-
Nick Mathewson authored
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
-
- 05 Mar, 2006 2 commits
-
-
Nick Mathewson authored
Add some functions to escape values from the network before sending them to the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now) svn:r6087
-
Nick Mathewson authored
Allow private:* in routerdescs; not generated yet (because older Tors do not understand it); needs testing. svn:r6086
-
- 12 Feb, 2006 1 commit
-
-
Nick Mathewson authored
Generate 18.0.0.0/8 address policy format in descs when we can; warn when the mask is not reducible to a bit-prefix. svn:r5991
-
- 09 Feb, 2006 1 commit
-
-
Roger Dingledine authored
svn:r5949
-
- 10 Jan, 2006 1 commit
-
-
Nick Mathewson authored
svn:r5767
-
- 09 Dec, 2005 1 commit
-
-
Nick Mathewson authored
svn:r5545
-