| Commit message (Expand) | Author | Age |
* | Purge ATTR_PURE from the code•••We're using it incorrectly in many cases, and it doesn't help as far as
we know.
| Sebastian Hahn | 2011-11-25 |
* | Stop using addr_port_lookup as an address splitting function•••It's too risky to have a function where if you leave one parameter
NULL, it splits up address:port strings, but if you set it, it does
hostname resolution.
| Nick Mathewson | 2011-10-11 |
* | Change "reverse_lookup_name" functions to refer to "PTR_name"s•••Under the new convention, having a tor_addr.*lookup function that
doesn't do hostname resolution is too close for comfort.
I used this script here, and have made no other changes.
s/tor_addr_parse_reverse_lookup_name/tor_addr_parse_PTR_name/g;
s/tor_addr_to_reverse_lookup_name/tor_addr_to_PTR_name/g;
| Nick Mathewson | 2011-10-11 |
* | Fix names of functions that convert strings to addrs•••Now let's have "lookup" indicate that there can be a hostname
resolution, and "parse" indicate that there wasn't. Previously, we
had one "lookup" function that did resolution; four "parse" functions,
half of which did resolution; and a "from_str()" function that didn't
do resolution. That's confusing and error-prone!
The code changes in this commit are exactly the result of this perl
script, run under "perl -p -i.bak" :
s/tor_addr_port_parse/tor_addr_port_lookup/g;
s/parse_addr_port(?=[^_])/addr_port_lookup/g;
s/tor_addr_from_str/tor_addr_parse/g;
This patch leaves aton and pton alone: their naming convention and
behavior is is determined by the sockets API.
More renaming may be needed.
| Nick Mathewson | 2011-10-11 |
* | Merge remote-tracking branch 'origin/maint-0.2.2'•••Conflicts:
src/or/config.c
src/or/dirserv.c
src/or/or.h
| Nick Mathewson | 2011-05-13 |
|\ |
|
| * | Add a new "tor_sockaddr_to_str()" function•••It does what it says on the tin. It turns out I'll want this in a couple
of places.
| Nick Mathewson | 2011-05-13 |
* | | Merge remote-tracking branch 'origin/maint-0.2.2'•••Conflicts:
src/common/address.c
src/common/compat_libevent.c
src/common/memarea.c
src/common/util.h
src/or/buffers.c
src/or/circuitbuild.c
src/or/circuituse.c
src/or/connection.c
src/or/directory.c
src/or/networkstatus.c
src/or/or.h
src/or/routerlist.c
| Nick Mathewson | 2011-04-07 |
|\| |
|
* | | Merge remote-tracking branch 'origin/maint-0.2.2'•••Trivial Conflicts in
src/common/crypto.c
src/or/main.h
src/or/or.h
| Nick Mathewson | 2011-03-16 |
|\| |
|
| * | Doxygen documentation for about 100 things that didn't have any•••About 860 doxygen-less things remain in 0.2.2
| Nick Mathewson | 2011-03-16 |
* | | Merge remote branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-01-03 |
|\| |
|
| * | Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2•••Conflicts:
src/common/test.h
src/or/test.c
| Nick Mathewson | 2011-01-03 |
| |\ |
|
| | * | Bump copyright statements to 2011 | Nick Mathewson | 2011-01-03 |
* | | | Merge branch 'bug1992_part1' | Nick Mathewson | 2010-10-15 |
|\ \ \ |
|
| * | | | refactor all these tor_inet_ntoa idioms•••but don't refactor the ones that look messy
| Roger Dingledine | 2010-10-01 |
| |/ / |
|
* | | | Make the return value of tor_addr_sockaddr always be signed | Nick Mathewson | 2010-10-15 |
* | | | Fix a compile warning on OSX 10.6 | Sebastian Hahn | 2010-10-07 |
|/ / |
|
* | | Merge remote branch 'origin/maint-0.2.1'•••Conflicts:
src/common/test.h
src/or/test.c
| Nick Mathewson | 2010-02-27 |
|\| |
|
| * | Update Tor Project copyright years | Nick Mathewson | 2010-02-27 |
| * | Update copyright to 2009. | Karsten Loesing | 2009-05-04 |
* | | Make tor_addr_copy() conform to memcpy requirements•••The src and dest of a memcpy() call aren't supposed to overlap,
but we were sometimes calling tor_addr_copy() as a no-op.
Also, tor_addr_assign was a redundant copy of tor_addr_copy(); this patch
removes it.
| Nick Mathewson | 2010-02-09 |
* | | Update copyright to 2009. | Karsten Loesing | 2009-05-02 |
|/ |
|
* | Remove svn $Id$s from our source, and remove tor --version --version.•••The subversion $Id$ fields made every commit force a rebuild of
whatever file got committed. They were not actually useful for
telling the version of Tor files in the wild.
svn:r17867
| Nick Mathewson | 2009-01-04 |
* | Use a consistent naming standard for header file guard macros, taking care no...•••svn:r17805
| Nick Mathewson | 2008-12-29 |
* | Refactor tor_addr_t manipulation functions so that as few as possible look at...•••svn:r17790
| Nick Mathewson | 2008-12-26 |
* | some fixes i found in my sandbox•••svn:r17771
| Roger Dingledine | 2008-12-25 |
* | Fix most DOCDOCs remaining and/or added by redox.•••svn:r17734
| Nick Mathewson | 2008-12-22 |
* | Add DOCDOC comments for all undocumented functions. Add missing *s to other ...•••svn:r17729
| Nick Mathewson | 2008-12-22 |
* | Move in-addr.arpa parsing and generation into address.c, and simplify the cod...•••svn:r17707
| Nick Mathewson | 2008-12-19 |
* | Try once again to make BSD compilation happy.•••svn:r16474
| Nick Mathewson | 2008-08-08 |
* | r17666@tombo: nickm | 2008-08-07 15:12:30 -0400••• Make tor_addr_from_sockaddr also give away the port in a useful format
svn:r16458
| Nick Mathewson | 2008-08-07 |
* | r17641@31-33-44: nickm | 2008-08-05 16:07:53 -0400••• Initial conversion of uint32_t addr to tor_addr_t addr in connection_t and related types. Most of the Tor wire formats using these new types are in, but the code to generate and use it is not. This is a big patch. Let me know what it breaks for you.
svn:r16435
| Nick Mathewson | 2008-08-05 |
* | r17426@tombo: nickm | 2008-07-28 20:34:03 -0400••• More test coverage for tor_addr_t; fix a couple of bugs.
svn:r16234
| Nick Mathewson | 2008-07-29 |
* | r17391@pc-10-8-1-079: nickm | 2008-07-25 17:11:17 +0200••• Tor_addr_compare did a semantic comparison, such that ::1.2.3.4 and 1.2.3.4 were "equal". we sometimes need an exact comparison. Add a feature to do that.
svn:r16210
| Nick Mathewson | 2008-07-25 |
* | r17358@pc-10-8-1-079: nickm | 2008-07-25 16:41:03 +0200••• Split out the address manipulation functions from compat and util: they were about 21% of the total of those, and spread out too much.
svn:r16208
| Nick Mathewson | 2008-07-25 |