Roger Dingledine
|
b6b1b4f283
Bandaid workaround to make cvs not crash tor clients.
|
hace 20 años |
Nick Mathewson
|
05482a0899
Add functions to return number of elts in associative containers
|
hace 20 años |
Nick Mathewson
|
a39269572f
Replace balanced trees with hash tables: this should make stuff significantly faster.
|
hace 20 años |
Roger Dingledine
|
a2a4f4ae61
cleanups and a smidgen more docs
|
hace 20 años |
Nick Mathewson
|
5828f8920e
Add a "Map from digest to void*" abstraction, since we already faked it in 3 places by encoding keys in hex and sticking them in a strmap.
|
hace 20 años |
Nick Mathewson
|
768160c872
Inline key smartlist functions; use fast versions by default.
|
hace 20 años |
Nick Mathewson
|
ba24193ab5
Make doxygen marginally happier
|
hace 20 años |
Nick Mathewson
|
de198d800b
Never call free() on tor_malloc()d memory. This is unlikely to be our current leak, but it may help dmalloc work.
|
hace 20 años |
Nick Mathewson
|
26e7a05725
even better function start checks; give dmalloc a chance of working.
|
hace 20 años |
Nick Mathewson
|
92451f74a8
Reformat inconsistent function declarations.
|
hace 20 años |
Nick Mathewson
|
5c53545d81
Add a bunch more warnings to out warning suite; resolve them; pack structs a little better.
|
hace 20 años |
Nick Mathewson
|
312af36126
Make smartlist_add_all more efficient.
|
hace 20 años |
Nick Mathewson
|
d9bf9e48c0
Add documentation to a few functions in container.c; reformat function definitions
|
hace 20 años |
Nick Mathewson
|
c1a6940e73
make compile slightly happier on const-zealous compilers
|
hace 20 años |
Nick Mathewson
|
2689cb081b
We have so many special cases for smartlists of strings, why not add a sort function?
|
hace 20 años |
Nick Mathewson
|
8d70ae01b8
Fix a memory leak in smartlist_string_remove.
|
hace 20 años |
Nick Mathewson
|
035b1953eb
Add sorting/searching to smartlist
|
hace 20 años |
Roger Dingledine
|
780261aa2e
don't crash now that LongLivedPorts can be null
|
hace 20 años |
Nick Mathewson
|
18c11eb3bc
Be consistent about preferring foo* to struct foo*
|
hace 20 años |
Roger Dingledine
|
8c657e4157
cosmetic fixes
|
hace 20 años |
Roger Dingledine
|
bb97d7f4ea
slightly cleaner fix
|
hace 20 años |
Roger Dingledine
|
893652da84
bugfixes: smartlist_join_strings2() was underflowing a size_t
|
hace 20 años |
Roger Dingledine
|
fcd0fc3364
flesh out the source file descriptions for doxygen
|
hace 20 años |
Nick Mathewson
|
0831823763
Change end-of-file NLNL convention. It turns out arma I and I agree.
|
hace 20 años |
Nick Mathewson
|
a6f51001a5
New whitespace normalization rule: no blank line at EOF.
|
hace 20 años |
Nick Mathewson
|
7bf443e985
I hear the smart kinds compile before committing. Then they never miss parens
|
hace 20 años |
Nick Mathewson
|
f696fd98bf
Make smartlist_string_remove consistent with smartlist_string
|
hace 20 años |
Nick Mathewson
|
ff545c3103
Add useful smartlist_string_remove function.
|
hace 20 años |
Nick Mathewson
|
0e81265359
update copyright notices.
|
hace 20 años |
Roger Dingledine
|
248867caf5
bugfix: make smartlist_join_strings2 actually use the separator/terminator
|
hace 20 años |