Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-02-25 | For integers, if !(E<G), then we can infer that E>=G. | Nick Mathewson | |
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. | |||
2010-02-25 | Add the MIN and MAX macros for platforms that lack them | Nick Mathewson | |
2010-02-25 | Fix 64-bit printf issues in consensus-bw-weights5-merge. | Nick Mathewson | |
For my 64-bit Linux system running with GCC 4.4.3-fc12-whatever, you can't do 'printf("%lld", (int64_t)x);' Instead you need to tell the compiler 'printf("%lld", (long long int)x);' or else it doesn't believe the types match. This is why we added U64_PRINTF_ARG; it looks like we needed an I64_PRINTF_ARG too. | |||
2010-02-25 | Merge remote branch 'mikeperry/consensus-bw-weights5-merge' | Nick Mathewson | |
Conflicts: ChangeLog | |||
2010-02-25 | Check snprintf return values in format_networkstatus_vote. | Mike Perry | |
Maybe this is what parakeep was complaining about? Really wish he would stick around more. Playing these guessing games is not fun :( | |||
2010-02-25 | Cast our weights down to ints from int64. | Mike Perry | |
They are capped to be between 0 and weight_scale (10000) by the code just before the snprintf. | |||
2010-02-25 | Update dir-spec.txt with begin_dir weights. | Mike Perry | |
2010-02-25 | Merge remote branch 'sebastian/manpage' | Nick Mathewson | |
2010-02-25 | Merge remote branch 'sebastian/polipo' | Nick Mathewson | |
2010-02-25 | Restrict PerConnBWRate|Burst to INT32_MAX, update manpage | Sebastian Hahn | |
All other bandwidthrate settings are restricted to INT32_MAX, but this check was forgotten for PerConnBWRate and PerConnBWBurst. Also update the manpage to reflect the fact that specifying a bandwidth in terabytes does not make sense, because that value will be too large. | |||
2010-02-24 | Make unit tests work. | Mike Perry | |
Still not sure why they generate an empty consensus document.. Too much frobbing going on there. | |||
2010-02-23 | Update a section of the exit notice file, give it a changelog. | Sebastian Hahn | |
2010-02-23 | Fix some urls in the exit notice | Sebastian Hahn | |
Patch by Christian Kujau to fix some links in the exit notice file (the file you'd use for your DirPortFrontPage), as well as making the file xhtml compatible. Thanks! | |||
2010-02-23 | Update polipo build instructions for OS X 10.6 | Sebastian Hahn | |
2010-02-23 | Proper NULL checking for hsdesc publication | Sebastian Hahn | |
Fix a dereference-then-NULL-check sequence. This bug wasn't triggered in the wild, but we should fix it anyways in case it ever happens. Also make sure users get a note about this being a bug when they see it in their log. Thanks to ekir for discovering and reporting this bug. | |||
2010-02-23 | Fix another coverity-spotted memleak | Sebastian Hahn | |
2010-02-22 | Update consensus methods in spec. | Mike Perry | |
2010-02-22 | Add consensus method #defines. | Mike Perry | |
2010-02-22 | bump to 0.2.2.9-alpha-dev | Roger Dingledine | |
2010-02-22 | Mark 160 and 161 as Finished.tor-0.2.2.9-alpha | Nick Mathewson | |
2010-02-22 | Add a changelog entry for the bandwidth weightings. | Mike Perry | |
2010-02-22 | Remove misc unnecessary newlines found by new check. | Mike Perry | |
2010-02-22 | Patch from karsten to detect unnecessary \n's. | Mike Perry | |
Also fix a spacing issue. | |||
2010-02-22 | Always weight routers by bandwidth. | Mike Perry | |
Also always predict that we need a high capacity circuit or internal circuit. | |||
2010-02-22 | Update specs for weight computation and use. | Mike Perry | |
2010-02-22 | Clearly mark directory footer so we parse the new weight line. | Mike Perry | |
2010-02-22 | Implement bw weighting selection algorithm. | Mike Perry | |
2010-02-22 | Add parsing+verification for bw weight values. | Mike Perry | |
2010-02-22 | Perform calculation of consensus bandwidth weights. | Mike Perry | |
Also add bwweightscale consensus param. Use it as our fixed-point calculation width. | |||
2010-02-22 | Add %lld compat defines. | Mike Perry | |
2010-02-22 | elevate a changelog entry, and get my mailto out of the man page | Roger Dingledine | |
2010-02-22 | Merge remote branch 'sebastian/coverity' | Nick Mathewson | |
2010-02-22 | Merge remote branch 'sebastian/bug1254' | Nick Mathewson | |
2010-02-22 | Make expand_filename into a tor_strdup() alias on windows. | Nick Mathewson | |
On Windows, we don't have a notion of ~ meaning "our homedir", so we were deliberately using an #ifdef to avoid calling expand_filename() in multiple places. This is silly: The right place to turn a function into a no-op on a single platform is in the function itself, not in every single call-site. | |||
2010-02-22 | Remove some redundant code in options_save_current() | Sebastian Hahn | |
get_torrc_fname() does the same thing we did in this code, so let's replace it. | |||
2010-02-22 | Expand homedirs in paths passed to tor-checkkey | Sebastian Hahn | |
This is so that coverity stops complaining about using a user-supplied string with the open() syscall. Let's see if it works. | |||
2010-02-22 | Zero a cipher completely before freeing it | Sebastian Hahn | |
We used to only zero the first ptrsize bytes of the cipher. Since cipher is large enough, we didn't zero too many bytes. Discovered and fixed by ekir. Fixes bug 1254. | |||
2010-02-22 | Break early on unknown extendcircuit purpose | Sebastian Hahn | |
Don't continue handling EXTENDCIRCUIT messages when we get an unknown purpose. | |||
2010-02-22 | Fix a memory leak, found by coverity | Sebastian Hahn | |
2010-02-22 | Remove some redundand code in control.c | Sebastian Hahn | |
Found by coverity | |||
2010-02-22 | Merge commit 'sebastian/osxinstructions' | Roger Dingledine | |
2010-02-22 | Update the osx dmg creation instructions | Sebastian Hahn | |
Make sure we follow basic whitespace sanity principles, update a few links | |||
2010-02-22 | network-status-version must come first in a vote/consensus | Sebastian Hahn | |
Spec conformance issue: The code didn't force the network-status-version token to be the first token in a v3 vote or consensus. Problem discovered by Parakeep. | |||
2010-02-22 | we have two faqs for now | Roger Dingledine | |
2010-02-22 | we deleted AUTHORS, so don't put it in the tarball | Roger Dingledine | |
2010-02-22 | Merge branch 'maint-0.2.1' into new | Roger Dingledine | |
Conflicts: ChangeLog configure.in contrib/tor-mingw.nsi.in src/win32/orconfig.h | |||
2010-02-22 | prepare for 0.2.2.9-alpha | Roger Dingledine | |
2010-02-21 | put 0.2.1.24 in release notes tootor-0.2.1.24 | Roger Dingledine | |
2010-02-21 | bump to 0.2.1.24 | Roger Dingledine | |
2010-02-21 | minor fixes in proposal 169 | Roger Dingledine | |
still need to finish reading it, but so far so good |