| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Node-picking fixes: Never warn when a down node is listed in a config option (bug 348); always warn when a node in a config option is unnamed. Also, when entrynodes is configured, then build the guard list as: (parts of EntryNodes that were guards before), (the rest of EntryNodes), (the rest of the old guards). This last point ensures that EntryNode users will get the EntryNodes they want with the minimum change to their guard list.
svn:r9574
|
|
|
|
|
|
|
| |
Update copyright dates.
svn:r9570
|
|
|
|
|
|
|
| |
Add documentation to src/common/*.h; improve documentation for SMARTLIST_FOREACH; remove never-used options and corresponding tests from tor_strpartition.
svn:r9483
|
|
|
|
|
|
|
| |
Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch!
svn:r9477
|
|
|
|
|
|
|
| |
Add a helper function for case-insensitive search through a smartlist
svn:r9198
|
|
|
|
|
|
|
| |
Implement a smartlist_uniq() that will with luck not end the world.
svn:r8396
|
|
|
|
|
|
|
| |
fix wide lines
svn:r7025
|
|
|
|
|
|
|
| |
Add more warnings to the list of those we tolerate. Start using GCC attributes more, for better error checking and better code generation.
svn:r7020
|
|
|
|
|
|
|
| |
Add assert_ok functions for strmap and digestmap; use them in unit test code.
svn:r6958
|
|
|
|
|
|
|
| |
Looks like we might need a priority queue.
svn:r6953
|
|
|
|
|
|
| |
respond in-order, removing duplicates.
svn:r6673
|
|
|
|
| |
svn:r6634
|
|
|
|
| |
svn:r5949
|
|
|
|
|
|
| |
intended.
svn:r5582
|
|
|
|
| |
svn:r5487
|
|
|
|
|
|
| |
likely to be used.
svn:r5471
|
|
|
|
| |
svn:r5448
|
|
|
|
|
|
| |
significantly faster.
svn:r5441
|
|
|
|
| |
svn:r5335
|
|
|
|
|
|
| |
places by encoding keys in hex and sticking them in a strmap.
svn:r5278
|
|
|
|
| |
svn:r5277
|
|
|
|
| |
svn:r5275
|
|
|
|
| |
svn:r5266
|
|
|
|
| |
svn:r5265
|
|
|
|
|
|
| |
function?
svn:r5014
|
|
|
|
|
|
| |
variable.
svn:r5000
|
|
|
|
| |
svn:r4977
|
|
|
|
| |
svn:r4637
|
|
|
|
| |
svn:r4382
|