Roger Dingledine
|
051cda803e
|
point out a potential thread/process leak problem when we're out of memory
svn:r3512
|
2005-02-03 07:35:24 +00:00 |
|
Peter Palfrader
|
ddd724ef94
|
Add --with-dmalloc configure option
svn:r3508
|
2005-02-03 07:25:10 +00:00 |
|
Roger Dingledine
|
74bc4e5af0
|
help avoid overflow from len_in + (len_in/n)*len_ins
nick, do you think this does it? if so, we should maybe backport too.
svn:r3334
|
2005-01-10 16:30:51 +00:00 |
|
Roger Dingledine
|
cf17d0d29c
|
move network_init from or/main to common/compat
call network_init in tor-resolve.c too
move tor_lookup_hostname from common/util to common/compat
svn:r3203
|
2004-12-22 05:29:06 +00:00 |
|
Nick Mathewson
|
fe6eb34a10
|
Solaris CC freaks out if isspace and friends get anything other than an int. We learned that, so we casted. But it is also a bad idea to cast a signed char to an int and expect things to work on win32. Now we cast to unsigned char, then to int, then pass to isspace. Ug
svn:r3120
|
2004-12-08 00:42:50 +00:00 |
|
Nick Mathewson
|
249a36586f
|
Fix parse_iso_time on platforms without strptime.
svn:r3091
|
2004-12-06 22:39:10 +00:00 |
|
Nick Mathewson
|
a980446d0c
|
Be more proactive about noticing underflows: size_t values greater than 0x800...00 are likely to be trouble.
svn:r3064
|
2004-12-02 04:33:01 +00:00 |
|
Nick Mathewson
|
b457cfb5eb
|
Spell-check strings and comments
svn:r3052
|
2004-12-01 03:48:14 +00:00 |
|
Roger Dingledine
|
7a8c1ca1e4
|
a few minor tweaks
svn:r3041
|
2004-11-30 08:54:08 +00:00 |
|
Nick Mathewson
|
ad7db5e43a
|
Add casei versions of strcmpstart/strcmpend
svn:r3026
|
2004-11-30 03:10:56 +00:00 |
|
Nick Mathewson
|
7fbd297532
|
Suggestion from weasel: Make tor --version --version dump the cvs Id of every file.
svn:r3019
|
2004-11-29 22:25:31 +00:00 |
|
Roger Dingledine
|
22727b4edc
|
wrong is ok, and right is fine, but in between is apparently
totally unacceptable to me.
svn:r3005
|
2004-11-28 11:39:53 +00:00 |
|
Nick Mathewson
|
f7c6ad065e
|
correct multiple internal spaces
svn:r3004
|
2004-11-28 09:14:07 +00:00 |
|
Nick Mathewson
|
6f5dbefa7e
|
Normalize space: add one between every control keyword and control clause.
svn:r3003
|
2004-11-28 09:05:49 +00:00 |
|
Roger Dingledine
|
7c9a707900
|
remove emacs droppings, since nick says he doesn't need them anymore
svn:r2989
|
2004-11-26 04:00:55 +00:00 |
|
Nick Mathewson
|
cd70264377
|
Clean up some logging and interfaces
svn:r2945
|
2004-11-23 00:08:26 +00:00 |
|
Nick Mathewson
|
22dba27d8d
|
Normalize a few more kinds of whitespace. We now dislike:
- func (args)
- if (x){
This doesn't normalize if(x), for(x); while(x), and friends.
svn:r2943
|
2004-11-22 23:28:26 +00:00 |
|
Nick Mathewson
|
55df2620c6
|
Add function to format local time in ISO format
svn:r2935
|
2004-11-22 21:38:44 +00:00 |
|
Nick Mathewson
|
89a456a1d4
|
Fix a fun bug in read_all that was corrupting config files on windows, and probably doing other bad stuff too.
svn:r2898
|
2004-11-16 00:08:56 +00:00 |
|
Nick Mathewson
|
a3788d5c9d
|
Fix argument to strncpy.
svn:r2824
|
2004-11-12 21:14:51 +00:00 |
|
Nick Mathewson
|
c466b7e72f
|
Speed up tor_strndup a lot: profiling suggests that our use of strlcpy here was a bad idea.
svn:r2821
|
2004-11-12 20:41:03 +00:00 |
|
Nick Mathewson
|
60880cda84
|
Resolve a bunch of FIXME items; mark a lot more for attention; ask for clarification on some. Turn all XXXX008 ("showstopper for 0.0.8 release") items into XXXX009 or XXXX, since plainly they were not showstoppers for 0.0.8. Add/clean some docs.
svn:r2808
|
2004-11-12 16:39:03 +00:00 |
|
Nick Mathewson
|
8de9cfe184
|
Resolve FIXME items: make expand_filename handle ~ and ~username
svn:r2789
|
2004-11-10 14:23:31 +00:00 |
|
Nick Mathewson
|
5a5be93f80
|
Normalize whitespace; add a "tell me about all the unnormalized whitespace" target; fix a braino in dirserv.c
svn:r2758
|
2004-11-09 20:04:00 +00:00 |
|
Nick Mathewson
|
d9d053d70b
|
Clean windows a little
svn:r2757
|
2004-11-09 19:30:50 +00:00 |
|
Nick Mathewson
|
7daab4034d
|
Fix windows build for VC6; centralize newline-fiasco-damage-control logic
svn:r2756
|
2004-11-09 19:13:08 +00:00 |
|
Nick Mathewson
|
cd753df7bf
|
Resolve many XXXs and all DOCDOCs
svn:r2755
|
2004-11-09 18:22:17 +00:00 |
|
Nick Mathewson
|
180e0a9326
|
Make check_private_dir trimodal (check/create/ignore), not bimodal (create/ignore).
svn:r2733
|
2004-11-09 07:12:31 +00:00 |
|
Roger Dingledine
|
8c7b2ff7ed
|
various fixes
svn:r2712
|
2004-11-09 01:24:10 +00:00 |
|
Roger Dingledine
|
865f341708
|
parse_line_from_file is obsolete.
svn:r2693
|
2004-11-06 05:18:29 +00:00 |
|
Nick Mathewson
|
38ed0ce5e6
|
Unify tor_parse_(numeric); make sure MAX_UINT32 and MAX_UINT64 are defined
svn:r2688
|
2004-11-05 17:54:50 +00:00 |
|
Nick Mathewson
|
9d604ec615
|
Add code to read configuration lines from a string as well as a file
svn:r2676
|
2004-11-04 22:29:45 +00:00 |
|
Nick Mathewson
|
b74b72a5ce
|
Fix windows build
svn:r2670
|
2004-11-04 04:01:19 +00:00 |
|
Nick Mathewson
|
871bf904ae
|
Remove extraneous local
svn:r2663
|
2004-11-03 19:15:38 +00:00 |
|
Nick Mathewson
|
d5244e3872
|
Add a write_bytes_to_file so we can have files with NULs in them.
svn:r2662
|
2004-11-03 19:02:48 +00:00 |
|
Nick Mathewson
|
67f14032b1
|
Handle strlcat/strlcpy correctly on platforms that have them.
svn:r2647
|
2004-11-02 19:25:52 +00:00 |
|
Roger Dingledine
|
85c79ffbc7
|
canonicalize "src" and "dest" arg order in crypto.c (and others)
svn:r2644
|
2004-11-02 02:28:51 +00:00 |
|
Roger Dingledine
|
037fba7595
|
util.c needs ctype.h for tolower and isspace
svn:r2642
|
2004-11-01 21:54:12 +00:00 |
|
Nick Mathewson
|
ce79bab7f1
|
Split util into util (general utilities), container (smartlist and strmap), and compat (cross-platform compatability).
svn:r2640
|
2004-11-01 20:41:47 +00:00 |
|
Roger Dingledine
|
4689243242
|
make sure options.MaxConn can be reached
svn:r2638
|
2004-11-01 08:24:34 +00:00 |
|
Nick Mathewson
|
5bc0dba933
|
Move all util functions that need openssl into crypto.c; make non-openssl functions that util needs into util. Now openssl can be separated.
svn:r2628
|
2004-10-30 19:26:31 +00:00 |
|
Nick Mathewson
|
6874c39904
|
Fix windows build
svn:r2613
|
2004-10-27 18:14:38 +00:00 |
|
Nick Mathewson
|
6980929e64
|
Use strlcpy, not strcpy.
svn:r2610
|
2004-10-27 06:48:16 +00:00 |
|
Nick Mathewson
|
44d4516155
|
Use tor_snprintf, not snprintf
svn:r2609
|
2004-10-27 06:37:34 +00:00 |
|
Nick Mathewson
|
22dc19b590
|
snprintf wrapper with consistant (though not C99) overflow behavior
svn:r2606
|
2004-10-27 06:26:23 +00:00 |
|
Nick Mathewson
|
f67f83b1fa
|
Use strlcpy, not strncpy
svn:r2603
|
2004-10-27 06:03:28 +00:00 |
|
Nick Mathewson
|
bc62f8e983
|
Replace sprintf with snprintf
svn:r2602
|
2004-10-27 05:53:07 +00:00 |
|
Nick Mathewson
|
26f3cb8652
|
Add SysLog option to direct log messages to the system log instead of a FILE*.
svn:r2591
|
2004-10-26 21:48:41 +00:00 |
|
Roger Dingledine
|
e9e9a25881
|
i take back everything i've said about unit tests
svn:r2547
|
2004-10-16 22:56:03 +00:00 |
|
Roger Dingledine
|
6d873e5743
|
don't assert multiple things in the same tor_assert()
svn:r2545
|
2004-10-16 22:28:11 +00:00 |
|