Commit History

Autor SHA1 Mensaxe Data
  Nick Mathewson 6899b8001a Check for low _MSC_VER, not high. On windows, always use winsock. %!s(int64=21) %!d(string=hai) anos
  Roger Dingledine c4c6ee7d61 add winsock if you've got it, regardless of whether you're msv %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson 69d7b468b4 Refactor parse-addr-mask-and-port-range into a separate function %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson f619c4603e Add an autoconf test to make sure that memset(&ptr, 0, sizeof(ptr)) and ptr=NULL are equivalent %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson f359389866 Oops; make sure that break; and continue; work within SMARTLIST_FOREACH %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson 5e80944c52 Use token-pasting magic to make nested SMARTLIST_FOREACH work. %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson c5964d6738 Basic string-join functionality %!s(int64=21) %!d(string=hai) anos
  Roger Dingledine 69830afc16 and another one %!s(int64=21) %!d(string=hai) anos
  Roger Dingledine fe54bd00b9 ok, vim isn't the greatest editor in the world %!s(int64=21) %!d(string=hai) anos
  Roger Dingledine a7d858bd6e start the great migration from int to size_t %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson 19da1f36c2 Make a bounds-checking replacement for strtol with slightly easier error-checking in the common case %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson 8b037509f3 Add functions to parse addr[:port] consistently %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson 6c970aec94 Turn tor_strpartion into a swiss-army-knife function, so it can terminate or not-terminate appropriately. %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson 7b98fb58eb More complete docs for crypto.c; factor out string partitioning code %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson ce3162d035 Make base-64-encoded DER work, including workaround for ugly openssl misfeature that makes base64 decoding fail when you strip out the newlines. %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson 0ef85f6dba Some platforms have weird translations when you open files in "test" mode; make read/write_str_to_file aware. %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson f311206d1d Make split function smarter; add a strcmpstart function so we can stop bungling strcmp(x, y, strlen(y)); %!s(int64=21) %!d(string=hai) anos
  Roger Dingledine d91cacb839 agree with nick: this legal-chars-in-filename stuff gets us nothing %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson 015232bd39 As far as I can tell, CONFIG_LEGAL_FILENAME_CHARACTERS is both pointless and broken. #if it out, pending agreement from arma. This fixes a bug on win32 that rejected paths with a : in them. %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson 7979c0277d Workaround for oddity in cygwin autoconf %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson 86980cf6e2 Functions to test nickname validity %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson 7cb93e5bb6 Move string-splitting into a separate function %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson 8566bbb489 Add strmap_isempty %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson 15a903b21c Convenience function to do a strcmp on each member of a smartlist of strings %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson 6453a25567 Add replace_file to util.[ch] to survive stupidity of windows rename call %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson f6cc218742 Refactor ISO-style (yyyy-mm-dd hh:mm:ss) time parsing into util.c; rename format/parse_rfc1123_time; make rephist remember used bandwidth; published used bandwidth in descriptors in 15-minute chunks. Breaks unittests. %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson 380f32f07d hex_encode is obsoleted by base16_encode, and never actually worked in the first place. (Thanks to Timo Lindfors for noticing the never-actually-worked part.) %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson 14d5478f29 Add functions to format and parse RFC1123-style times, for HTTP protocol. %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson 849e998ac6 It is possible to have struct timeval but not gettimeofday. %!s(int64=21) %!d(string=hai) anos
  Nick Mathewson 06c11a61ce When faking gettimeofday with ftime, do it right. %!s(int64=21) %!d(string=hai) anos