| Commit message (Expand) | Author | Age |
* | Update copyright dates to 2012; add a few missing copyright statements | Nick Mathewson | 2012-06-04 |
* | Synchronize with upstream tinytest again: remove _identifiers | Nick Mathewson | 2012-02-13 |
* | Use getifaddrs, not connect+getsockname, to find our address•••This resolves bug1827, and lets us avoid freaking people out.
Later, we can use it to get a complete list of our interfaces.
| Nick Mathewson | 2011-12-28 |
* | Imporved unit test coverage for tor_inet_pton | Anders Sundman | 2011-11-19 |
* | Merge remote-tracking branch '4ZM/topic/test/4433_address' | Nick Mathewson | 2011-11-14 |
|\ |
|
| * | Unit tests for tor_addr_to_PTR_name | Anders Sundman | 2011-11-11 |
* | | Unit tests for tor_addr_to_str | Anders Sundman | 2011-11-11 |
* | | Unit tests for tor_inet_ntop | Anders Sundman | 2011-11-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' | Nick Mathewson | 2011-06-14 |
|\ |
|
| * | Check some more return values in unit tests | Sebastian Hahn | 2011-06-08 |
* | | Upgrade to the latest version of tinytest | Nick Mathewson | 2011-06-09 |
|/ |
|
* | Standardize our printf code on %d, not %i. | Nick Mathewson | 2011-04-19 |
* | Bump copyright statements to 2011 (0.2.2) | Nick Mathewson | 2011-01-03 |
* | Update copyright dates for files not in maint-0.2.1 | Nick Mathewson | 2010-02-27 |
* | Split directory tests into their own module.•••(Also, clean up some whitespace.)
| Nick Mathewson | 2009-09-23 |
* | Split test_util() into smaller functions. | Nick Mathewson | 2009-09-23 |
* | Split general util and address tests into their own files. | Nick Mathewson | 2009-09-23 |