aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAge
* Build without warnings on mac gcc 3.3Nick Mathewson2004-10-14
| | | | svn:r2487
* and another oneRoger Dingledine2004-10-14
| | | | svn:r2484
* oh, and some more in common/Roger Dingledine2004-10-14
| | | | svn:r2483
* a few more ints to size_tsRoger Dingledine2004-10-13
| | | | svn:r2461
* ok, vim isn't the greatest editor in the worldRoger Dingledine2004-10-12
| | | | svn:r2457
* start the great migration from int to size_tRoger Dingledine2004-10-12
| | | | | | | and clean some deadweight from util.h svn:r2455
* Make a bounds-checking replacement for strtol with slightly easier ↵Nick Mathewson2004-10-12
| | | | | | error-checking in the common case svn:r2452
* fix signed/unsigned comparison, plus typoRoger Dingledine2004-10-12
| | | | svn:r2451
* Better bounds checking on parsed intsNick Mathewson2004-10-12
| | | | svn:r2450
* Note byte-order on result for parse_addr_port()Nick Mathewson2004-10-12
| | | | svn:r2444
* Add functions to parse addr[:port] consistentlyNick Mathewson2004-10-12
| | | | svn:r2440
* fix compile error: move variable declarations before codeRoger Dingledine2004-10-08
| | | | svn:r2430
* Turn tor_strpartion into a swiss-army-knife function, so it can terminate or ↵Nick Mathewson2004-10-07
| | | | | | not-terminate appropriately. svn:r2429
* More complete docs for crypto.c; factor out string partitioning codeNick Mathewson2004-10-07
| | | | svn:r2427
* Make base-64-encoded DER work, including workaround for ugly openssl ↵Nick Mathewson2004-10-07
| | | | | | misfeature that makes base64 decoding fail when you strip out the newlines. svn:r2423
* Add a function to remove a set of characters from a stringNick Mathewson2004-10-06
| | | | svn:r2420
* Implement (temporarily) a base64-encoded-DER format for RSA keys; make it ↵Nick Mathewson2004-10-06
| | | | | | easier to generate fingerprints with no space svn:r2419
* make the warn message better for reading short filesRoger Dingledine2004-09-28
| | | | svn:r2385
* Make read_all distinguish between error and EOF; read_file_to_string should ↵Nick Mathewson2004-09-26
| | | | | | only check bytes read against st_size when in binary mode. svn:r2375
* make our tor_assert actually work when it's going to be triggered,Roger Dingledine2004-09-23
| | | | | | | rather than seg fault svn:r2368
* bugfix on the bugfixRoger Dingledine2004-09-23
| | | | | | | | | actually unlink the log entry. ok, that wasn't cleverly hidden enough. let's try again. svn:r2367
* bugfix: when we run out of disk space, or other log writing error,Roger Dingledine2004-09-23
| | | | | | | | | don't crash. just stop logging to that log and continue. nick, can you find the bug i've cleverly hidden in this commit? svn:r2365
* Stop using openssl functions that rely on stdio; they can apparently lead to ↵Nick Mathewson2004-09-21
| | | | | | linker grief on win32. svn:r2354
* LOG_ERR is for when we're going to exitRoger Dingledine2004-09-10
| | | | svn:r2348
* Some platforms have weird translations when you open files in "test" mode; ↵Nick Mathewson2004-09-08
| | | | | | make read/write_str_to_file aware. svn:r2336
* Idiot-proof uncompress; make sure it always nul-terminates its output. Also, ↵Nick Mathewson2004-09-08
| | | | | | make all compression methods nonzero. svn:r2334
* Make split function smarter; add a strcmpstart function so we can stop ↵Nick Mathewson2004-09-02
| | | | | | bungling strcmp(x, y, strlen(y)); svn:r2325
* Add basic wrappers for zlib/gzipNick Mathewson2004-09-02
| | | | svn:r2324
* Define LONG_MAX and UINT_MAX when they are missingNick Mathewson2004-08-25
| | | | svn:r2317
* fix a seg fault on solarisRoger Dingledine2004-08-25
| | | | svn:r2313
* make the compile work (and not complain) on sunos 5.9Roger Dingledine2004-08-25
| | | | svn:r2312
* agree with nick: this legal-chars-in-filename stuff gets us nothingRoger Dingledine2004-08-24
| | | | svn:r2310
* As far as I can tell, CONFIG_LEGAL_FILENAME_CHARACTERS is both pointless and ↵Nick Mathewson2004-08-24
| | | | | | broken. #if it out, pending agreement from arma. This fixes a bug on win32 that rejected paths with a : in them. svn:r2309
* Workaround for oddity in cygwin autoconfNick Mathewson2004-08-19
| | | | svn:r2301
* tweak the [...truncated] string againRoger Dingledine2004-08-18
| | | | svn:r2289
* don't add a spurious newline before [truncated]Roger Dingledine2004-08-18
| | | | svn:r2282
* Functions to test nickname validityNick Mathewson2004-08-18
| | | | svn:r2269
* Move string-splitting into a separate functionNick Mathewson2004-08-17
| | | | svn:r2263
* Add strmap_isemptyNick Mathewson2004-08-17
| | | | svn:r2250
* Convenience function to do a strcmp on each member of a smartlist of stringsNick Mathewson2004-08-16
| | | | svn:r2243
* End truncated log entries with [truncated]Nick Mathewson2004-08-15
| | | | svn:r2235
* Add replace_file to util.[ch] to survive stupidity of windows rename callNick Mathewson2004-08-09
| | | | svn:r2208
* Refactor ISO-style (yyyy-mm-dd hh:mm:ss) time parsing into util.c; rename ↵Nick Mathewson2004-08-07
| | | | | | format/parse_rfc1123_time; make rephist remember used bandwidth; published used bandwidth in descriptors in 15-minute chunks. Breaks unittests. svn:r2182
* fencepostNick Mathewson2004-08-07
| | | | svn:r2178
* hex_encode is obsoleted by base16_encode, and never actually worked in the ↵Nick Mathewson2004-08-07
| | | | | | first place. (Thanks to Timo Lindfors for noticing the never-actually-worked part.) svn:r2175
* Add functions to format and parse RFC1123-style times, for HTTP protocol.Nick Mathewson2004-08-04
| | | | svn:r2129
* Fix all warnings on win32 buildNick Mathewson2004-08-03
| | | | svn:r2127
* It is possible to have struct timeval but not gettimeofday.Nick Mathewson2004-08-03
| | | | svn:r2125
* check return value of fclose while writing to disk, since it mightRoger Dingledine2004-07-23
| | | | | | | return out-of-space, etc svn:r2122
* tell the user what time _they_ are too, when a cert is expiredRoger Dingledine2004-07-22
| | | | svn:r2114