Commit History

Author SHA1 Message Date
  Nick Mathewson 78428dccdb Add smartlist_reverse and smartlist_pop_last. 18 years ago
  Roger Dingledine 5f051574d5 Happy new year! 18 years ago
  Roger Dingledine a45b131590 check for integer overflows in more places, when adding elements to 18 years ago
  Roger Dingledine 6005e110b9 whitespace fixes 18 years ago
  Nick Mathewson 7e6a41af93 Make hashtables use a little less space on 64-bit architectures. 18 years ago
  Nick Mathewson 1af630d32c Bite the bullet and limit all our source lines to 80 characters, the way IBM intended. 18 years ago
  Nick Mathewson ce3cdecb9d Make more arguments const; do not call hash tables trees. 18 years ago
  Nick Mathewson 9cec3a13f5 remove some functions that are not used; #if0 out some files that are not likely to be used. 18 years ago
  Nick Mathewson 72cb64406a HT_NEXT invalidates the last iterator; fix rmv-related segfault. 18 years ago
  Roger Dingledine b6b1b4f283 Bandaid workaround to make cvs not crash tor clients. 18 years ago
  Nick Mathewson 05482a0899 Add functions to return number of elts in associative containers 18 years ago
  Nick Mathewson a39269572f Replace balanced trees with hash tables: this should make stuff significantly faster. 18 years ago
  Roger Dingledine a2a4f4ae61 cleanups and a smidgen more docs 18 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. 18 years ago
  Nick Mathewson 768160c872 Inline key smartlist functions; use fast versions by default. 18 years ago
  Nick Mathewson ba24193ab5 Make doxygen marginally happier 18 years ago
  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. 18 years ago
  Nick Mathewson 26e7a05725 even better function start checks; give dmalloc a chance of working. 18 years ago
  Nick Mathewson 92451f74a8 Reformat inconsistent function declarations. 18 years ago
  Nick Mathewson 5c53545d81 Add a bunch more warnings to out warning suite; resolve them; pack structs a little better. 18 years ago
  Nick Mathewson 312af36126 Make smartlist_add_all more efficient. 18 years ago
  Nick Mathewson d9bf9e48c0 Add documentation to a few functions in container.c; reformat function definitions 19 years ago
  Nick Mathewson c1a6940e73 make compile slightly happier on const-zealous compilers 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 8d70ae01b8 Fix a memory leak in smartlist_string_remove. 19 years ago
  Nick Mathewson 035b1953eb Add sorting/searching to smartlist 19 years ago
  Roger Dingledine 780261aa2e don't crash now that LongLivedPorts can be null 19 years ago
  Nick Mathewson 18c11eb3bc Be consistent about preferring foo* to struct foo* 19 years ago
  Roger Dingledine 8c657e4157 cosmetic fixes 19 years ago
  Roger Dingledine bb97d7f4ea slightly cleaner fix 19 years ago