aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.c
Commit message (Expand)AuthorAge
...
* Avoid assert failure when our cached-routers file is empty on startup.•••(reported by revstray) svn:r8928 Roger Dingledine2006-11-12
* checkpoint some changes as i read diffs•••svn:r8780 Roger Dingledine2006-10-20
* r9274@Kushana: nickm | 2006-10-19 16:16:58 -0400••• Add unit tests for tor_mmap_file(); make tor_mmap_t.size always be the size of the file (not the size of the mapping); add an extra argument to read_file_to_str() so it can return the size of the result string. svn:r8762 Nick Mathewson2006-10-19
* r9025@Kushana: nickm | 2006-09-29 18:33:13 -0400••• Differentiate more duplicated log entries svn:r8542 Nick Mathewson2006-09-29
* r8750@totoro: nickm | 2006-09-27 20:52:01 -0400••• Fix some warnings on mingw; hopefully this should let us build on mingw without warnings. svn:r8509 Nick Mathewson2006-09-28
* Merge in some bsockets calls, all wrapped inside #if defined(USE_BSOCKETS)•••svn:r8427 Nick Mathewson2006-09-19
* r9749@danube: weasel | 2006-09-14 06:53:12 +0200••• Do not graciously increase the size to be mmaped if the current size already is at a page_size boundary. This is important since if a file has a size of zero and we mmap() it with length > 0, then accessing the mmaped memory area causes a bus error. However, if we pass a length of 0 to mmap() it will return with -1 and things work from there. svn:r8387 Peter Palfrader2006-09-14
* r8725@Kushana: nickm | 2006-09-06 04:39:29 -0400••• spawn_func fixes: have cpuworker_main and dnsworker_main confirm to the right interfaces [casting func to void* is icky]. Also, make pthread_create() build without warnings. svn:r8327 Nick Mathewson2006-09-06
* r8724@Kushana: nickm | 2006-09-06 04:32:28 -0400••• Fix spaces; restore support for mapping files over 4GB on win32 (?) svn:r8326 Nick Mathewson2006-09-06
* - made configure check if we are building for win32•••- made configure link to required system dll's if building for win32 - added diffs for libevent 1.1b - forced user to turn off eventdns if win32 is set - cleaned up tor_mmap_file()_win32 (not sure if it's stable) - cleaned up some warnings and typos svn:r8322 Mike Chiussi2006-09-06
* stop three memory leaks. nick, fix these if i'm wrong.•••svn:r8235 Roger Dingledine2006-08-27
* r7404@Kushana: nickm | 2006-08-16 09:32:19 -0400••• Pass hints to getaddrinfo; fix bug 280 (?) svn:r7069 Nick Mathewson2006-08-16
* r7030@Kushana: nickm | 2006-08-04 14:46:52 -0700••• Close an fd leak on failed mmap() svn:r6988 Nick Mathewson2006-08-05
* r7029@Kushana: nickm | 2006-08-04 14:08:41 -0700••• Remove now-spurious size and data arguments from tor_mmap_file svn:r6987 Nick Mathewson2006-08-05
* r7028@Kushana: nickm | 2006-08-04 13:10:16 -0700••• Make data and size fields visible in tor_mmap_t; hide win magic differently. svn:r6986 Nick Mathewson2006-08-05
* r7025@Kushana: nickm | 2006-08-04 12:03:22 -0700••• Finish (I hope) windows mmap impl. svn:r6981 Nick Mathewson2006-08-04
* r7012@Kushana: nickm | 2006-08-03 19:21:25 -0700••• Add an "mmap handle" type to encapsulate bookkeeping elements of mmap issues; add prelim win32 impl svn:r6980 Nick Mathewson2006-08-04
* Make compilation work on old MSVCs without GetVertsionEx magic. Patch from Fr...•••svn:r6749 Nick Mathewson2006-07-09
* Actually enable mmap. That should improve matters.•••svn:r6694 Nick Mathewson2006-06-28
* simplify code now that libevent considers all sockets pollable.•••what we really mean now is ">= 0", which is clearer to test for. svn:r6543 Roger Dingledine2006-06-05
* Add a new warning to our "warn a lot" list: unused parameters. This means we...•••svn:r6532 Nick Mathewson2006-06-04
* More DNS fixes. Send meaningful TTLs back to the client when•••possible. Cache at the server side independently from the TTL, to prevent attackers from probing the server to see who has been asking for what hostnames. (Hi, Dan Kaminski!) Also, clean some whitespace. svn:r6526 Nick Mathewson2006-06-03
* Add a basic mmap function, with a "fake-it" wrapper to do read_file_from_str ...•••svn:r6510 Nick Mathewson2006-05-28
* Throw out this UNALIGNED_INT_ACCESS_OK nonsense. Even where it works, it is ...•••svn:r6473 Nick Mathewson2006-05-23
* failing in a support function is a warn, not an err.•••svn:r6239 Roger Dingledine2006-03-26
* Check return value from GetVersionEx (even though the MSDN example doesnt) an...•••svn:r6233 Nick Mathewson2006-03-24
* Start the process of converting warn to log_warn and so on.•••This is needed because Windows already has an err() that we can't clobber. And we need to be able to make the log functions a macro so we can print the function's name in the log entry. svn:r6000 Roger Dingledine2006-02-13
* Happy new year!•••svn:r5949 Roger Dingledine2006-02-09
* and maybe some function documentation will help too•••svn:r5935 Roger Dingledine2006-02-09
* On systems that don't have getrlimit (like windows), we were artificially•••constraining ourselves to a max of 1024 connections. Now if there is no getrlimit, just assume that we can handle the whole 15000 connections. The better answer is to find a getrlimit equivalent on Windows, but hey, one step at a time. svn:r5854 Roger Dingledine2006-01-23
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ...•••svn:r5582 Nick Mathewson2005-12-14
* crank the max line limit down to 150 chars.•••svn:r5550 Roger Dingledine2005-12-10
* Make new logging stuff work on windows; fix a couple of windows typos.•••svn:r5375 Nick Mathewson2005-11-15
* Efficiency hack: call tor_fix_source_file late, not early. Add "BUG" domain....•••svn:r5309 Nick Mathewson2005-10-25
* Check for even more windows version flags, and note any we do not recognize.•••svn:r5297 Nick Mathewson2005-10-24
* Start dividing log messages into logging domains. No, LD_ is not the best of...•••svn:r5284 Nick Mathewson2005-10-18
* Win32 compilation/correctness fixes.•••svn:r5218 Nick Mathewson2005-10-07
* Make doxygen marginally happier•••svn:r5208 Nick Mathewson2005-10-06
* Make windows platform detection smarter. {Untested.}•••svn:r5198 Nick Mathewson2005-10-05
* Reformat inconsistent function declarations.•••svn:r5160 Nick Mathewson2005-09-30
* Add a bunch more warnings to out warning suite; resolve them; pack structs a ...•••svn:r5150 Nick Mathewson2005-09-29
* Add a touch_file() function to compat so we can update cache mtimes.•••svn:r5067 Nick Mathewson2005-09-14
* Clean up a few warnings that make gcc twig out a bit.•••svn:r5062 Nick Mathewson2005-09-14
* put quotes around user-supplied strings so they are more likely to•••realize if they add bad characters (like quotes) to the torrc svn:r4844 Roger Dingledine2005-08-26
* add a tor_dup_addr() function to simplify malloc()+tor_inet_ntoa()•••svn:r4838 Roger Dingledine2005-08-26
* Fix bug with tor_memmem finding a match at the end of the string.•••svn:r4803 Nick Mathewson2005-08-22
* Fix compile failures on tor_gettimeofday() fix for windows•••svn:r4685 Nick Mathewson2005-08-03
* Probably broken attempt to improve tor_gettimeofday granularity on windows.•••svn:r4683 Nick Mathewson2005-08-03
* Be consistent about preferring foo* to struct foo*•••svn:r4637 Nick Mathewson2005-07-22
* whitespace fixes•••svn:r4544 Nick Mathewson2005-07-13