aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.c
AgeCommit message (Collapse)Author
2005-10-25Efficiency hack: call tor_fix_source_file late, not early. Add "BUG" ↵Nick Mathewson
domain. Domains are now bitmasks... just in case. Make some err msgs non-general. svn:r5309
2005-10-24Check for even more windows version flags, and note any we do not recognize.Nick Mathewson
svn:r5297
2005-10-18Start dividing log messages into logging domains. No, LD_ is not the best ↵Nick Mathewson
of identifiers. src/or has not been converted yet. Domains dont do anything yet. svn:r5284
2005-10-07Win32 compilation/correctness fixes.Nick Mathewson
svn:r5218
2005-10-06Make doxygen marginally happierNick Mathewson
svn:r5208
2005-10-05Make windows platform detection smarter. {Untested.}Nick Mathewson
svn:r5198
2005-09-30Reformat inconsistent function declarations.Nick Mathewson
svn:r5160
2005-09-29Add a bunch more warnings to out warning suite; resolve them; pack structs a ↵Nick Mathewson
little better. svn:r5150
2005-09-14Add a touch_file() function to compat so we can update cache mtimes.Nick Mathewson
svn:r5067
2005-09-14Clean up a few warnings that make gcc twig out a bit.Nick Mathewson
svn:r5062
2005-08-26put quotes around user-supplied strings so they are more likely toRoger Dingledine
realize if they add bad characters (like quotes) to the torrc svn:r4844
2005-08-26add a tor_dup_addr() function to simplify malloc()+tor_inet_ntoa()Roger Dingledine
svn:r4838
2005-08-22Fix bug with tor_memmem finding a match at the end of the string.Nick Mathewson
svn:r4803
2005-08-03Fix compile failures on tor_gettimeofday() fix for windowsNick Mathewson
svn:r4685
2005-08-03Probably broken attempt to improve tor_gettimeofday granularity on windows.Nick Mathewson
svn:r4683
2005-07-22Be consistent about preferring foo* to struct foo*Nick Mathewson
svn:r4637
2005-07-13whitespace fixesNick Mathewson
svn:r4544
2005-07-13Fix windows compilationNick Mathewson
svn:r4543
2005-06-30Make errors retrievable from tor_socketpair; resolve bug 163.Nick Mathewson
svn:r4509
2005-06-27Fix libc compilationNick Mathewson
svn:r4497
2005-06-27Compile on win32Nick Mathewson
svn:r4496
2005-06-26note a bug in our tor_socketpair implementationRoger Dingledine
can somebody fix this or create a flyspray entry for it? svn:r4483
2005-06-18fix typoRoger Dingledine
svn:r4453
2005-06-18Add a tor_memmem functionNick Mathewson
svn:r4452
2005-06-12a bit more cleanupRoger Dingledine
svn:r4417
2005-06-11Docment or add DOCDOC comments to undocumented functions in src/or. Make ↵Nick Mathewson
function definition format uniform. svn:r4411
2005-06-11flesh out the source file descriptions for doxygenRoger Dingledine
svn:r4404
2005-06-09Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson
svn:r4382
2005-06-07Adapt patch from Adam Langley: fix possible memory leak in tor_lookup_hostnameNick Mathewson
svn:r4326
2005-05-02fix a commentRoger Dingledine
svn:r4157
2005-04-06Stop putting nodename in the Platform string of server descriptors.Roger Dingledine
It doesn't actually help, and it is confusing/upsetting some people. svn:r4037
2005-04-01update copyright notices.Nick Mathewson
svn:r3982
2005-03-28remember some thoughts about using WSAStartup to learnRoger Dingledine
how many sockets we get to use on win32. svn:r3905
2005-03-14Fix some more obscure compiler warningsNick Mathewson
svn:r3758
2005-03-14Renormalize whitespaceNick Mathewson
svn:r3757
2005-02-22Forward-port the trick to bump up ConnLimit as far as it canRoger Dingledine
go, but not past MAXCONNECTIONS. Also throw away the FAKE_POLL caveats since 0.1.0 doesn't need it any more. svn:r3657
2005-02-22But on windows, localtime and gmtime _are_ threadsafe.Nick Mathewson
svn:r3654
2005-02-22Patch to localtime/gmtime handling: use the _r variants where available. ↵Nick Mathewson
Use mutexes to fake _r where necessary. Make mutexes no-ops where no threading is enabled. svn:r3653
2005-02-22remove spurious semicolonsNick Mathewson
svn:r3650
2005-02-22Snarf some logic from python, adapted to our own needs, to handle ↵Nick Mathewson
gethostbyname_r correctly across platforms. svn:r3649
2005-02-22Fix windows build: do not spuriously include openssl where not needed; ↵Nick Mathewson
handle lack of gethostbyname_r properly. svn:r3644
2005-02-13Tell openssl how to use locks and how to find thread ids -- this may prevent ↵Nick Mathewson
race conditions surrounding the error queue. svn:r3622
2005-02-03Handle return value from getaddrinfo properlyNick Mathewson
svn:r3526
2005-02-03Use getaddrinfo and gethostbyname_r where available. Note that these are ↵Nick Mathewson
not necessarily threadsafe: this needs more thinking. Perhaps we should back down on this multithreading idea. svn:r3522
2005-02-03Forward-port SGI Compatibility patches from Jan SchaumannNick Mathewson
svn:r3517
2005-02-03http://www.erlenstar.demon.co.uk/unix/faq_2.html says weRoger Dingledine
should call _exit, not exit, from child processes. svn:r3506
2005-01-27Add rudimentary pthread support that needs more testing.Nick Mathewson
svn:r3439
2005-01-20Compilation fixes for win32 version detection.Nick Mathewson
svn:r3385
2005-01-19Detect windows platform correctlyNick Mathewson
svn:r3377
2005-01-12Make Tor use Niels Provos's libevent instead of it's currentNick Mathewson
poll-but-sometimes-select mess. This will let us use faster async cores (like epoll, kpoll, and /dev/poll), and hopefully work better on Windows too. There are some fairly nasty changes to main.c here; this will almost certainly break something. But hey, that's what alphas are for. svn:r3341