| Commit message (Collapse) | Author | Age |
|\
| |
| |
| |
| |
| | |
Conflicts:
src/common/test.h
src/or/test.c
|
| | |
|
|\| |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
| |
There was a field that _HT_FOI_INSERT was never setting. Everything that calls _HT_FOI_INSERT was setting it via tor_malloc_zero, but that's fragile.
svn:r18064
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Fix all remaining shorten-64-to-32 errors in src/common. Some were genuine problems. Many were compatibility errors with libraries (openssl, zlib) that like predate size_t. Partial backport candidate.
svn:r13665
|
|
|
|
|
|
|
| |
From little acorns: redo our string and digest hashing code to be faster, since this stuff may be critical-path.
svn:r11700
|
|
|
|
|
|
|
| |
Split over-optimized digestmap_set code into a generic part and a digestmap-specific part.
svn:r11012
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Optimize digestmap_set, since it sometimes shows up in profiles. Seems to work so far, but it isnt the prettiest thing ever.
svn:r10312
|
|
|
|
|
|
|
| |
Fix build on gcc 4.2
svn:r10212
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Change HT_INIT from a special-case to a macro-calling-a-function like the rest of ht.h. This might prevent errors if somebody did, I dunno, "HT_INIT(tp, hashtable++)". Based on a patch from Watson Ladd.
svn:r8776
|
|
|
|
| |
svn:r8499
|
|
|
|
| |
svn:r6925
|
|
|
|
| |
svn:r6924
|
|
|
|
| |
svn:r6401
|
|
|
|
|
|
| |
ht.h. Resolves bug 270; maybe sun C will work now.
svn:r6153
|
|
|
|
|
|
| |
This way, as soon was we have a networkstatus, we can ask a cache to give us routers, rather than needing to ask the directories.
svn:r5586
|
|
|
|
| |
svn:r5585
|
|
|
|
|
|
| |
intended.
svn:r5582
|
|
|
|
| |
svn:r5458
|
|
significantly faster.
svn:r5441
|