Nick Mathewson
|
5e80944c52
|
Use token-pasting magic to make nested SMARTLIST_FOREACH work.
svn:r2526
|
2004-10-15 04:45:47 +00:00 |
|
Nick Mathewson
|
c5964d6738
|
Basic string-join functionality
svn:r2521
|
2004-10-14 19:51:47 +00:00 |
|
Roger Dingledine
|
69830afc16
|
and another one
svn:r2484
|
2004-10-14 02:49:48 +00:00 |
|
Roger Dingledine
|
fe54bd00b9
|
ok, vim isn't the greatest editor in the world
svn:r2457
|
2004-10-12 20:28:53 +00:00 |
|
Roger Dingledine
|
a7d858bd6e
|
start the great migration from int to size_t
and clean some deadweight from util.h
svn:r2455
|
2004-10-12 20:20:19 +00:00 |
|
Nick Mathewson
|
19da1f36c2
|
Make a bounds-checking replacement for strtol with slightly easier error-checking in the common case
svn:r2452
|
2004-10-12 19:32:41 +00:00 |
|
Nick Mathewson
|
8b037509f3
|
Add functions to parse addr[:port] consistently
svn:r2440
|
2004-10-12 15:48:30 +00:00 |
|
Nick Mathewson
|
6c970aec94
|
Turn tor_strpartion into a swiss-army-knife function, so it can terminate or not-terminate appropriately.
svn:r2429
|
2004-10-07 21:37:06 +00:00 |
|
Nick Mathewson
|
7b98fb58eb
|
More complete docs for crypto.c; factor out string partitioning code
svn:r2427
|
2004-10-07 20:58:53 +00:00 |
|
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.
svn:r2423
|
2004-10-07 03:11:42 +00:00 |
|
Nick Mathewson
|
0ef85f6dba
|
Some platforms have weird translations when you open files in "test" mode; make read/write_str_to_file aware.
svn:r2336
|
2004-09-08 07:16:34 +00:00 |
|
Nick Mathewson
|
f311206d1d
|
Make split function smarter; add a strcmpstart function so we can stop bungling strcmp(x, y, strlen(y));
svn:r2325
|
2004-09-02 18:25:50 +00:00 |
|
Roger Dingledine
|
d91cacb839
|
agree with nick: this legal-chars-in-filename stuff gets us nothing
svn:r2310
|
2004-08-24 21:57:12 +00:00 |
|
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.
svn:r2309
|
2004-08-24 20:48:22 +00:00 |
|
Nick Mathewson
|
7979c0277d
|
Workaround for oddity in cygwin autoconf
svn:r2301
|
2004-08-19 17:21:17 +00:00 |
|
Nick Mathewson
|
86980cf6e2
|
Functions to test nickname validity
svn:r2269
|
2004-08-18 04:44:24 +00:00 |
|
Nick Mathewson
|
7cb93e5bb6
|
Move string-splitting into a separate function
svn:r2263
|
2004-08-17 21:06:36 +00:00 |
|
Nick Mathewson
|
8566bbb489
|
Add strmap_isempty
svn:r2250
|
2004-08-17 06:28:34 +00:00 |
|
Nick Mathewson
|
15a903b21c
|
Convenience function to do a strcmp on each member of a smartlist of strings
svn:r2243
|
2004-08-16 20:46:00 +00:00 |
|
Nick Mathewson
|
6453a25567
|
Add replace_file to util.[ch] to survive stupidity of windows rename call
svn:r2208
|
2004-08-09 04:28:25 +00:00 |
|
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.
svn:r2182
|
2004-08-07 02:46:16 +00:00 |
|
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.)
svn:r2175
|
2004-08-07 01:03:33 +00:00 |
|
Nick Mathewson
|
14d5478f29
|
Add functions to format and parse RFC1123-style times, for HTTP protocol.
svn:r2129
|
2004-08-04 01:11:15 +00:00 |
|
Nick Mathewson
|
849e998ac6
|
It is possible to have struct timeval but not gettimeofday.
svn:r2125
|
2004-08-03 23:31:22 +00:00 |
|
Nick Mathewson
|
06c11a61ce
|
When faking gettimeofday with ftime, do it right.
svn:r2068
|
2004-07-20 21:23:50 +00:00 |
|
Nick Mathewson
|
9364c40afd
|
Add generic expand_filename function to handle expanding ~/
svn:r2047
|
2004-07-15 02:00:43 +00:00 |
|
Roger Dingledine
|
7e344f191a
|
add is_local_IP() function to help distinguish which bandwidth "matters"
svn:r2040
|
2004-07-13 16:57:37 +00:00 |
|
Nick Mathewson
|
b1e9adf056
|
Always use get_data_directory() instead of options.DataDirectory; fix a memory leak in router.c
svn:r1991
|
2004-06-30 16:37:08 +00:00 |
|
Nick Mathewson
|
17b5b3685f
|
Make tor build on win32 again; handle locking for server
svn:r1948
|
2004-06-05 01:50:35 +00:00 |
|
Nick Mathewson
|
7511fbf993
|
Resolve some XXXs
svn:r1889
|
2004-05-18 15:35:21 +00:00 |
|
Roger Dingledine
|
5dd9e60231
|
doxygen markup for common/*.h
svn:r1840
|
2004-05-10 07:54:13 +00:00 |
|
Nick Mathewson
|
93576d5289
|
Add doxygen markup for util and buffers
svn:r1820
|
2004-05-07 17:04:12 +00:00 |
|
Nick Mathewson
|
e6f3bf2a68
|
tor_assert(), not assert()
svn:r1777
|
2004-05-02 20:27:48 +00:00 |
|
Nick Mathewson
|
af08c4f878
|
Working strerror for windows socket errors, plus some snide comments.
svn:r1775
|
2004-05-02 20:18:21 +00:00 |
|
Nick Mathewson
|
908ccb9dcd
|
Handle windows socket errors correctly; comment most of common.
svn:r1756
|
2004-05-01 20:46:28 +00:00 |
|
Roger Dingledine
|
4b316b4a7d
|
some cosmetic fixes
svn:r1747
|
2004-04-29 02:52:49 +00:00 |
|
Nick Mathewson
|
5a9b144092
|
Oops -- the Windows function is closesocket, not socketclose
svn:r1746
|
2004-04-28 21:17:42 +00:00 |
|
Nick Mathewson
|
9322641710
|
Use socketclose on windows as appropriate; end pid files with newline
svn:r1745
|
2004-04-28 21:14:56 +00:00 |
|
Nick Mathewson
|
ddb15b8f67
|
Remove IVs from cipher code, since AES-ctr has none.
svn:r1742
|
2004-04-28 20:31:32 +00:00 |
|
Roger Dingledine
|
47dc5cd1c8
|
nick, is this what you meant?
svn:r1740
|
2004-04-28 20:18:22 +00:00 |
|
Nick Mathewson
|
7055f837ab
|
Make Tor build on win32 with VC6 without warnings.
svn:r1739
|
2004-04-28 20:13:21 +00:00 |
|
Nick Mathewson
|
ac622d94dc
|
Workarounds for a couple of pieces of windows strangeness.
svn:r1734
|
2004-04-28 19:35:12 +00:00 |
|
Nick Mathewson
|
e062ca046b
|
Add a tor_assert macro that logs failed assertions.
svn:r1695
|
2004-04-25 19:37:39 +00:00 |
|
Nick Mathewson
|
8169da5c30
|
Don't use Tor version 0.0.5 for intro/rendezvous points. (We don't need
to worry about 0.0.4 or earlier, because nobody is running them any more.)
svn:r1533
|
2004-04-07 21:36:03 +00:00 |
|
Nick Mathewson
|
75c19716a8
|
Put ourself in router list; act accordingly.
svn:r1521
|
2004-04-07 19:46:27 +00:00 |
|
Nick Mathewson
|
8b371c2aa5
|
router_choose_random_node wants a smartlist of routers, not of nicknames.
svn:r1510
|
2004-04-06 21:19:59 +00:00 |
|
Nick Mathewson
|
6290d027c9
|
Continue attack on magic numbers; use new crypto wrappers where possible
svn:r1504
|
2004-04-06 20:16:12 +00:00 |
|
Nick Mathewson
|
ce51a30adc
|
Remove the last tab in non-contributed code
svn:r1503
|
2004-04-06 03:46:37 +00:00 |
|
Nick Mathewson
|
82cde03ddc
|
Make it build on linux
svn:r1468
|
2004-04-03 04:08:54 +00:00 |
|
Nick Mathewson
|
b3c2b62a14
|
Make "common" no longer depend on or.h
svn:r1466
|
2004-04-03 04:05:12 +00:00 |
|