Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
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
|
|
not to collide with any system headers. This tripped us up on Android.
svn:r17805
|
|
svn:r17393
|
|
identity fingerprints, so it's easier to paste them in.
Suggested by Lucky Green.
svn:r17021
|
|
likely to confuse analysis tools into thinking we do use after free. Arguably, (void)x should count as use in suppressing unused variable warnings, but not in generating hey-you-used-a-variable warnings. Arguably, though, it shouldn't.
svn:r16815
|
|
svn:r16802
|
|
svn:r16597
|
|
Allow alternate form of SMARTLIST_FOREACH with paired BEGIN and END macros. This lets the compiler tell us which line an error has occurred on.
svn:r16256
|
|
When we remove old routers, use Bloom filters rather than a digestmap-based set in order to tell which ones we absolutely need to keep. This will save us roughly a kazillion little short-lived allocations for hash table entries.
svn:r14318
|
|
Add a new SMARTLIST_FOREACH_JOIN macro to iterate through two sorted lists in lockstep. This happens at least 3 times in the code so far, and is likely to happen more in the future. Previous attempts to do so proved touchy, tricky, and error-prone: now, we only need to get it right in one place.
svn:r14309
|
|
Better macro documentation
svn:r14298
|
|
svn:r13663
|
|
Do the last part of arma's fix for bug 437: Track the origin of every addrmap, and use this info so we can remove all the trackhostexits-originated mappings for a given exit.
svn:r13660
|
|
svn:r13649
|
|
Correct handling of nested MAP_FOREACH loops. There are none of those ATM, but isn't it nice that now they'll be correct?
svn:r13637
|
|
svn:r13621
|
|
Simplify rounding logic in bitarray; fix a bug in bitarray_expand().
svn:r13619
|
|
Chris Palmer notes that almost nobody is using smartlist_set_capacity(). Chris Palmer is right. Remove this basically pointless function.
svn:r13596
|
|
New debugging code to figure out what is happending with socket counts.
svn:r13593
|
|
svn:r13412
|
|
Add typechecking cast functions for typed digestmap variants.
svn:r13396
|
|
Add (and use) a MAP_DEL_CURRENT macro to augment a non-const variant of MAP_FOREACH.
svn:r13379
|
|
svn:r13302
|
|
Missing documentation in container.h
svn:r13038
|
|
svn:r12786
|
|
Mess with the formula for the Guard flag again. Now it requires that you be in the most familiar 7/8 of nodes, and have above median wfu for that 7/8th. See spec for details. Also, log thresholds better.
svn:r12440
|
|
Add a smartlist_bsearch_idx function that gives more useful output than regular bsearch for the value-not-found case.
svn:r12360
|
|
Fix implementation of sdmap_size and rimap_size() and eimap_size(). Nobody was using them, so no backport needed.
svn:r12068
|
|
Unify all of the divergent median/nth-percentile code in container.[ch]
svn:r11457
|
|
svn:r11160
|
|
Include fewer redundant headers; use the compiler search paths better.
svn:r11060
|
|
Fix spelling; add a comment.
svn:r10943
|
|
check.
svn:r10941
|
|
Add a bit-array type with reasonably fast inline functions.
svn:r10938
|
|
svn:r10722
|
|
svn:r10721
|
|
Sun CC likes to give warnings for the do { } while(0) construction for making statement-like macros. Define STMT_BEGIN/STMT_END macros that do the right thing, and use them everywhere.
svn:r10645
|
|
Build with fewer compiler warnings on Sun. (This and previous Sun patches are thanks to the tremendously handy services of unix-center.net.)
svn:r10644
|
|
Fix some dumb copypasta in r10562.
svn:r10565
|
|
Add typechecking wrappers to digestmap, so we can work with "map from digest to [FOO]" for arbitrary FOOs and still have some typesafety.
svn:r10562
|
|
Start of code to compute consensus network-status stuff from a bunch of votes. Strangely, it does not yet feel like an enormous ugly hack.
svn:r10489
|
|
Resolve all but 3 DOCDOCs.
svn:r10393
|
|
Fix compilation with -O0; add unit tests for swap and shuffle.
svn:r10223
|
|
Add a "swap" function to smartlist, add a "shuffle" function for smartlist to crypto.c, and make appropriate hashtable functions be more const.
svn:r10208
|
|
svn:r9655
|
|
Move tricky "delete the member of the smartlist currently under iteration" logic into its own happyfun macro.
svn:r9633
|