Nick Mathewson
|
bf72878cad
r7012@Kushana: nickm | 2006-08-03 19:21:25 -0700
|
18 years ago |
Nick Mathewson
|
28a7c8a64c
Make compilation work on old MSVCs without GetVertsionEx magic. Patch from Frediano Ziglio.
|
18 years ago |
Nick Mathewson
|
1cd04abf1a
Actually enable mmap. That should improve matters.
|
18 years ago |
Roger Dingledine
|
45065f1466
simplify code now that libevent considers all sockets pollable.
|
18 years ago |
Nick Mathewson
|
853e2d99b6
Add a new warning to our "warn a lot" list: unused parameters. This means we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.)
|
18 years ago |
Nick Mathewson
|
c660a0f6a2
More DNS fixes. Send meaningful TTLs back to the client when
|
18 years ago |
Nick Mathewson
|
64d487a2d6
Add a basic mmap function, with a "fake-it" wrapper to do read_file_from_str instead. Based on code from Michael Mohr.
|
18 years ago |
Nick Mathewson
|
89a8411ace
Throw out this UNALIGNED_INT_ACCESS_OK nonsense. Even where it works, it is often way way slower than doing the right thing. Backport candidate.
|
18 years ago |
Roger Dingledine
|
7871ad9116
failing in a support function is a warn, not an err.
|
18 years ago |
Nick Mathewson
|
6d9632ba23
Check return value from GetVersionEx (even though the MSDN example doesnt) and zero out the LPOSVERSIONINFOEX struct before getting the version. This may fix the "johnboy" [major=-858993460,minor=-858993460] problem.
|
18 years ago |
Roger Dingledine
|
6ce36ead42
Start the process of converting warn to log_warn and so on.
|
19 years ago |
Roger Dingledine
|
5f051574d5
Happy new year!
|
19 years ago |
Roger Dingledine
|
28f3765b5a
and maybe some function documentation will help too
|
19 years ago |
Roger Dingledine
|
f1864dfff3
On systems that don't have getrlimit (like windows), we were artificially
|
19 years ago |
Nick Mathewson
|
1af630d32c
Bite the bullet and limit all our source lines to 80 characters, the way IBM intended.
|
19 years ago |
Roger Dingledine
|
9b0a40ec78
crank the max line limit down to 150 chars.
|
19 years ago |
Nick Mathewson
|
9b432311c4
Make new logging stuff work on windows; fix a couple of windows typos.
|
19 years ago |
Nick Mathewson
|
932106f54c
Efficiency hack: call tor_fix_source_file late, not early. Add "BUG" domain. Domains are now bitmasks... just in case. Make some err msgs non-general.
|
19 years ago |
Nick Mathewson
|
a20835ac92
Check for even more windows version flags, and note any we do not recognize.
|
19 years ago |
Nick Mathewson
|
edf5698474
Start dividing log messages into logging domains. No, LD_ is not the best of identifiers. src/or has not been converted yet. Domains dont do anything yet.
|
19 years ago |
Nick Mathewson
|
010bcfa9df
Win32 compilation/correctness fixes.
|
19 years ago |
Nick Mathewson
|
ba24193ab5
Make doxygen marginally happier
|
19 years ago |
Nick Mathewson
|
92abf1b653
Make windows platform detection smarter. {Untested.}
|
19 years ago |
Nick Mathewson
|
92451f74a8
Reformat inconsistent function declarations.
|
19 years ago |
Nick Mathewson
|
5c53545d81
Add a bunch more warnings to out warning suite; resolve them; pack structs a little better.
|
19 years ago |
Nick Mathewson
|
6973ef9be4
Add a touch_file() function to compat so we can update cache mtimes.
|
19 years ago |
Nick Mathewson
|
922cee3d0c
Clean up a few warnings that make gcc twig out a bit.
|
19 years ago |
Roger Dingledine
|
fa507c63e8
put quotes around user-supplied strings so they are more likely to
|
19 years ago |
Roger Dingledine
|
d5e426ab51
add a tor_dup_addr() function to simplify malloc()+tor_inet_ntoa()
|
19 years ago |
Nick Mathewson
|
9321db8c29
Fix bug with tor_memmem finding a match at the end of the string.
|
19 years ago |