| Commit message (Expand) | Author | Age |
* | Make the get_options() return const•••This lets us make a lot of other stuff const, allows the compiler to
generate (slightly) better code, and will make me get slightly fewer
patches from folks who stick mutable stuff into or_options_t.
const: because not every input is an output!
| Nick Mathewson | 2011-06-14 |
* | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-05-28 |
|\ |
|
| * | Fix GCC 4.6's new -Wunused-but-set-variable warnings.•••Most instances were dead code; for those, I removed the assignments.
Some were pieces of info we don't currently plan to use, but which
we might in the future. For those, I added an explicit cast-to-void
to indicate that we know that the thing's unused. Finally, one was
a case where we were testing the wrong variable in a unit test.
That one I fixed.
This resolves bug 3208.
| Nick Mathewson | 2011-05-23 |
* | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-05-15 |
|\| |
|
| * | Fixup whitespace issues from 3122 commit | Nick Mathewson | 2011-05-15 |
| * | Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2•••Conflicts:
src/or/networkstatus.c
| Nick Mathewson | 2011-05-15 |
| |\ |
|
| | * | Fixup whitespace issues from 3122 commit | Nick Mathewson | 2011-05-15 |
* | | | Merge remote-tracking branch 'public/bug3122_memcmp_022' into bug3122_memcmp_023•••Conflicts in various places, mainly node-related. Resolved them in
favor of HEAD, with copying of tor_mem* operations from bug3122_memcmp_022.
src/common/Makefile.am
src/or/circuitlist.c
src/or/connection_edge.c
src/or/directory.c
src/or/microdesc.c
src/or/networkstatus.c
src/or/router.c
src/or/routerlist.c
src/test/test_util.c
| Nick Mathewson | 2011-05-11 |
|\| | |
|
| * | | Hand-tune the new tor_memcmp instances in 0.2.2 | Nick Mathewson | 2011-05-11 |
| * | | Re-apply the automated conversion to 0.2.2 to make handle any memcmps that sn... | Nick Mathewson | 2011-05-11 |
| * | | Merge remote-tracking branch 'public/3122_memcmp_squashed' into bug3122_memcm...•••Conflicts throughout. All resolved in favor of taking HEAD and
adding tor_mem* or fast_mem* ops as appropriate.
src/common/Makefile.am
src/or/circuitbuild.c
src/or/directory.c
src/or/dirserv.c
src/or/dirvote.c
src/or/networkstatus.c
src/or/rendclient.c
src/or/rendservice.c
src/or/router.c
src/or/routerlist.c
src/or/routerparse.c
src/or/test.c
| Nick Mathewson | 2011-05-11 |
| |\| |
|
| | * | Hand-conversion and audit phase of memcmp transition•••Here I looked at the results of the automated conversion and cleaned
them up as follows:
If there was a tor_memcmp or tor_memeq that was in fact "safe"[*] I
changed it to a fast_memcmp or fast_memeq.
Otherwise if there was a tor_memcmp that could turn into a
tor_memneq or tor_memeq, I converted it.
This wants close attention.
[*] I'm erring on the side of caution here, and leaving some things
as tor_memcmp that could in my opinion use the data-dependent
fast_memcmp variant.
| Nick Mathewson | 2011-05-11 |
| | * | Automated conversion of memcmp to tor_memcmp/tor_mem[n]eq•••This commit is _exactly_ the result of
perl -i -pe 's/\bmemcmp\(/tor_memcmp\(/g' src/*/*.[ch]
perl -i -pe 's/\!\s*tor_memcmp\(/tor_memeq\(/g' src/*/*.[ch]
perl -i -pe 's/0\s*==\s*tor_memcmp\(/tor_memeq\(/g' src/*/*.[ch]
perl -i -pe 's/0\s*!=\s*tor_memcmp\(/tor_memneq\(/g' src/*/*.[ch]
git checkout src/common/di_ops.[ch]
git checkout src/or/test.c
git checkout src/common/test.h
| Nick Mathewson | 2011-05-11 |
* | | | Merge remote-tracking branch 'origin/maint-0.2.2'•••Conflicts:
src/or/connection.c
| Nick Mathewson | 2011-05-09 |
|\| | |
|
| * | | Fix potential null pointer deref during dirvote•••Found by using clang's analyzer.
| Sebastian Hahn | 2011-05-09 |
* | | | Replace _AUTHORITY enum values with _DIRINFO values (automted) | Nick Mathewson | 2011-05-05 |
* | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-05-04 |
|\| | |
|
| * | | Handle crypto_pk_get_digest failures semi-sensibly•••Fixes bug 3106.
| Robert Ransom | 2011-05-04 |
* | | | Merge remote branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-03-11 |
|\| | |
|
| * | | Fix log message when we have too few dirauths•••The calculation of when to send the logmessage was correct, but we
didn't give the correct number of relays required: We want more than
half of all authorities we know about. Fixes bug 2663.
| Sebastian Hahn | 2011-03-07 |
* | | | Merge remote branch 'origin/maint-0.2.2' for bug2203_rebased•••There was a merge conflict in routerlist.c due to the new node_t logic.
Conflicts:
src/or/routerlist.c
| Nick Mathewson | 2011-02-04 |
|\| | |
|
| * | | Fix authority side of 2203.•••Do not add Exit bandwidth to E if BadExit is set.
| Mike Perry | 2011-01-25 |
* | | | 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 |
* | | | refactor all these tor_inet_ntoa idioms•••but don't refactor the ones that look messy
| Roger Dingledine | 2010-10-01 |
|/ / |
|
* | | Implement new Wxx constraints.•••Cases 1 and 3b are provably correct. Case 2b has a fallback to first try to
maximize entropy.
| Mike Perry | 2010-09-27 |
* | | Fix misplaced labels | Sebastian Hahn | 2010-08-16 |
* | | Fix a memory leak in dirvote_compute_consensuses() | Sebastian Hahn | 2010-08-16 |
* | | Fix a memory leak•••It happened in dirvote_add_signatures_to_pending_consesus().
| Sebastian Hahn | 2010-08-16 |
* | | Create routerparse.h | Sebastian Hahn | 2010-07-27 |
* | | Create rephist.h | Sebastian Hahn | 2010-07-27 |
* | | Create policies.h | Sebastian Hahn | 2010-07-27 |
* | | Create networkstatus.h | Sebastian Hahn | 2010-07-27 |
* | | Create microdesc.h | Sebastian Hahn | 2010-07-27 |
* | | Create dirvote.h | Sebastian Hahn | 2010-07-27 |
* | | Create dirserv.h | Sebastian Hahn | 2010-07-27 |
* | | Create directory.h | Sebastian Hahn | 2010-07-27 |
* | | Create config.h | Sebastian Hahn | 2010-07-27 |
* | | Create routerlist.h | Sebastian Hahn | 2010-07-27 |
* | | Create router.h | Sebastian Hahn | 2010-07-27 |
* | | immediate reachability check for new relays | Roger Dingledine | 2010-04-21 |
* | | fetch unknown descriptors if we see them in a vote | Roger Dingledine | 2010-04-20 |
* | | minor cleanups | Roger Dingledine | 2010-04-20 |
* | | Merge branch 'asprintf' | Nick Mathewson | 2010-04-02 |
|\ \ |
|
| * | | Tweak users of snprintf to use asprintf where appropriate | Nick Mathewson | 2010-02-28 |
* | | | Segfault less during consensus generation without params•••If no authority votes on any params, Tor authorities segfault when
trying to make a new consensus from the votes. Let's change that.
| Sebastian Hahn | 2010-03-29 |
* | | | 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 |
* | | | For integers, if !(E<G), then we can infer that E>=G.•••This means that "if (E<G) {abc} else if (E>=G) {def}" can be replaced with
"if (E<G) {abc} else {def}"
Doing the second test explicitly made my mingw gcc nervous that we might
never be initializing casename.
| Nick Mathewson | 2010-02-25 |