Commit History

Author SHA1 Message Date
  Nick Mathewson 0ef85f6dba Some platforms have weird translations when you open files in "test" mode; make read/write_str_to_file aware. 20 years ago
  Nick Mathewson f311206d1d Make split function smarter; add a strcmpstart function so we can stop bungling strcmp(x, y, strlen(y)); 20 years ago
  Roger Dingledine d91cacb839 agree with nick: this legal-chars-in-filename stuff gets us nothing 20 years ago
  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. 20 years ago
  Nick Mathewson 7979c0277d Workaround for oddity in cygwin autoconf 20 years ago
  Nick Mathewson 86980cf6e2 Functions to test nickname validity 20 years ago
  Nick Mathewson 7cb93e5bb6 Move string-splitting into a separate function 20 years ago
  Nick Mathewson 8566bbb489 Add strmap_isempty 20 years ago
  Nick Mathewson 15a903b21c Convenience function to do a strcmp on each member of a smartlist of strings 20 years ago
  Nick Mathewson 6453a25567 Add replace_file to util.[ch] to survive stupidity of windows rename call 20 years ago
  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. 20 years ago
  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.) 20 years ago
  Nick Mathewson 14d5478f29 Add functions to format and parse RFC1123-style times, for HTTP protocol. 20 years ago
  Nick Mathewson 849e998ac6 It is possible to have struct timeval but not gettimeofday. 20 years ago
  Nick Mathewson 06c11a61ce When faking gettimeofday with ftime, do it right. 20 years ago
  Nick Mathewson 9364c40afd Add generic expand_filename function to handle expanding ~/ 20 years ago
  Roger Dingledine 7e344f191a add is_local_IP() function to help distinguish which bandwidth "matters" 20 years ago
  Nick Mathewson b1e9adf056 Always use get_data_directory() instead of options.DataDirectory; fix a memory leak in router.c 20 years ago
  Nick Mathewson 17b5b3685f Make tor build on win32 again; handle locking for server 20 years ago
  Nick Mathewson 7511fbf993 Resolve some XXXs 20 years ago
  Roger Dingledine 5dd9e60231 doxygen markup for common/*.h 20 years ago
  Nick Mathewson 93576d5289 Add doxygen markup for util and buffers 20 years ago
  Nick Mathewson e6f3bf2a68 tor_assert(), not assert() 20 years ago
  Nick Mathewson af08c4f878 Working strerror for windows socket errors, plus some snide comments. 20 years ago
  Nick Mathewson 908ccb9dcd Handle windows socket errors correctly; comment most of common. 20 years ago
  Roger Dingledine 4b316b4a7d some cosmetic fixes 20 years ago
  Nick Mathewson 5a9b144092 Oops -- the Windows function is closesocket, not socketclose 20 years ago
  Nick Mathewson 9322641710 Use socketclose on windows as appropriate; end pid files with newline 20 years ago
  Nick Mathewson ddb15b8f67 Remove IVs from cipher code, since AES-ctr has none. 20 years ago
  Roger Dingledine 47dc5cd1c8 nick, is this what you meant? 20 years ago