Nick Mathewson
|
9cec3a13f5
remove some functions that are not used; #if0 out some files that are not likely to be used.
|
19 years ago |
Nick Mathewson
|
05482a0899
Add functions to return number of elts in associative containers
|
19 years ago |
Nick Mathewson
|
a39269572f
Replace balanced trees with hash tables: this should make stuff significantly faster.
|
19 years ago |
Roger Dingledine
|
a2a4f4ae61
cleanups and a smidgen more docs
|
19 years ago |
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.
|
19 years ago |
Nick Mathewson
|
0349598928
stupid gcc. stupid nickm.
|
19 years ago |
Nick Mathewson
|
95514b32a5
Make smartlist_foreach always use the fast versions.
|
19 years ago |
Nick Mathewson
|
cf73ff195b
Actually, use #defines for common case. Nothing to see here.
|
19 years ago |
Nick Mathewson
|
768160c872
Inline key smartlist functions; use fast versions by default.
|
19 years ago |
Nick Mathewson
|
2689cb081b
We have so many special cases for smartlists of strings, why not add a sort function?
|
19 years ago |
Nick Mathewson
|
24bfac635d
Document SMARTLIST_FOREACH macro, along with previously-naughty foo_sl_idx variable.
|
19 years ago |
Nick Mathewson
|
035b1953eb
Add sorting/searching to smartlist
|
19 years ago |
Nick Mathewson
|
18c11eb3bc
Be consistent about preferring foo* to struct foo*
|
19 years ago |
Nick Mathewson
|
0831823763
Change end-of-file NLNL convention. It turns out arma I and I agree.
|
19 years ago |
Nick Mathewson
|
ff545c3103
Add useful smartlist_string_remove function.
|
19 years ago |
Nick Mathewson
|
0e81265359
update copyright notices.
|
19 years ago |
Roger Dingledine
|
51f47d746e
clean up smartlist_string_isin so callers don't have to manage bufs
|
20 years ago |
Nick Mathewson
|
7fbd297532
Suggestion from weasel: Make tor --version --version dump the cvs Id of every file.
|
20 years ago |
Roger Dingledine
|
22727b4edc
wrong is ok, and right is fine, but in between is apparently
|
20 years ago |
Nick Mathewson
|
6f5dbefa7e
Normalize space: add one between every control keyword and control clause.
|
20 years ago |
Roger Dingledine
|
7c9a707900
remove emacs droppings, since nick says he doesn't need them anymore
|
20 years ago |
Nick Mathewson
|
a8f9ba91db
Nobody was using the return values from smartlist_(set|del|del_keeporder), so remove them.
|
20 years ago |
Nick Mathewson
|
238a895e69
Add a FAST_SMARTLIST define to optionally inline smartlist_get and smartlist_len, which are two major profiling offenders.
|
20 years ago |
Nick Mathewson
|
11de62aa60
Add a slightly trickier string-join interface for making NUL-terminated string messages
|
20 years ago |
Roger Dingledine
|
85c79ffbc7
canonicalize "src" and "dest" arg order in crypto.c (and others)
|
20 years ago |
Nick Mathewson
|
ce79bab7f1
Split util into util (general utilities), container (smartlist and strmap), and compat (cross-platform compatability).
|
20 years ago |