aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Expand)AuthorAge
...
* r8971@totoro: nickm | 2006-10-09 10:16:23 -0400••• Move definition of ssize_t to torint.h svn:r8670 Nick Mathewson2006-10-09
* r8967@totoro: nickm | 2006-10-08 23:38:50 -0400••• Fix some test and warn failures in last commit svn:r8665 Nick Mathewson2006-10-09
* r8957@totoro: nickm | 2006-10-08 22:35:17 -0400••• The otherwise regrettable MIPSpro C compiler warns about values set but never used, and about mixing enums and ints; these are good warnings, and so should be fixed. This removes some dead code and some potential bugs. Thanks to pnx. svn:r8664 Nick Mathewson2006-10-09
* Add missing return so this builds on mingw.•••svn:r8649 Andrew Lewman2006-10-08
* r8923@totoro: nickm | 2006-10-07 11:44:33 -0400••• More doxygen comments svn:r8637 Nick Mathewson2006-10-07
* more minor cleanups•••svn:r8630 Roger Dingledine2006-10-07
* fix something that looked scary to me. i believe this won't•••change any behavior currently, but it will avoiding calling noop code that might change for the worse some time. nick, please confirm. svn:r8623 Roger Dingledine2006-10-07
* minor cleanups•••svn:r8622 Roger Dingledine2006-10-07
* r8860@totoro: nickm | 2006-10-03 14:48:33 -0400••• Use ANSI-style definition syntax in strlcat.c and strlcpy.c so that gcc stops barfing with -Wold-style-definition svn:r8591 Nick Mathewson2006-10-03
* r8851@totoro: nickm | 2006-10-02 18:13:27 -0400••• Remove/clarify some XXXs for no longer being accurate; for begin things we do not indend to fix; for already being parts of big todo issues (like "/* XXX ipv6 */"); etc. Also fix some spaces. svn:r8580 Nick Mathewson2006-10-02
* r8846@totoro: nickm | 2006-10-02 16:59:57 -0400••• Move is_local_IP to config.c; have it check for same-/24; make it used only for reachability (not for banwidth, because that is probably not what we want). Fixes an XXX. svn:r8578 Nick Mathewson2006-10-02
* r8845@totoro: nickm | 2006-10-02 16:34:58 -0400••• Fix an XXXX: make path_is_relative work on windows even though we never use it there. svn:r8577 Nick Mathewson2006-10-02
* r8844@totoro: nickm | 2006-10-02 16:32:44 -0400••• Resolve an XXXX: make sure that we are actually on 2s-complement hardware. svn:r8576 Nick Mathewson2006-10-02
* r8825@totoro: nickm | 2006-10-01 17:41:27 -0400••• Add function to return a random uint64_t. svn:r8570 Nick Mathewson2006-10-01
* r9032@Kushana: nickm | 2006-09-29 18:51:42 -0400••• Now, all log messages should be distinct. svn:r8545 Nick Mathewson2006-09-29
* r9025@Kushana: nickm | 2006-09-29 18:33:13 -0400••• Differentiate more duplicated log entries svn:r8542 Nick Mathewson2006-09-29
* r9023@Kushana: nickm | 2006-09-29 17:27:24 -0400••• Make distinct all non-bug messages at notice or higher that appear 3 or more times. svn:r8541 Nick Mathewson2006-09-29
* r9008@Kushana: nickm | 2006-09-29 13:50:10 -0400••• Doxygen comments for code in common. Also simplify a few code paths to be more clear/speedy/correct. svn:r8536 Nick Mathewson2006-09-29
* r9006@Kushana: nickm | 2006-09-29 10:48:23 -0400••• Omit function names from NOTICE, WARN and ERR messages unless they are in LD_BUG. svn:r8534 Nick Mathewson2006-09-29
* r8974@Kushana: nickm | 2006-09-28 17:05:59 -0400••• Improvement to last entry guards patch: track when we last attempted to connect to a node in our state file along with how long it has been unreachable. Also clarify behavior of parse_iso_time() when it gets extra characters. svn:r8520 Nick Mathewson2006-09-28
* 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
* Backport candidate: remove dangerous free(0) on hashtable init•••svn:r8499 Nick Mathewson2006-09-25
* add missing paren in dmalloc tor_free•••svn:r8498 Nick Mathewson2006-09-25
* r8878@Kushana: nickm | 2006-09-21 17:15:47 -0400••• Trivial whitespace cleanups. svn:r8443 Nick Mathewson2006-09-21
* Speed up eat_whitespace by a lot.•••svn:r8434 Nick Mathewson2006-09-19
* NEEDS REVIEW. Act on previous comment, and handle named servers differently: ...•••svn:r8433 Nick Mathewson2006-09-19
* Malloc and friends are critical-path: Thus, add an it-wont-happen branch pred...•••svn:r8431 Nick Mathewson2006-09-19
* Switch routerlist.c to using memcmp on digests rather than crypto_pk_cmp_keys...•••svn:r8430 Nick Mathewson2006-09-19
* Merge in some bsockets calls, all wrapped inside #if defined(USE_BSOCKETS)•••svn:r8427 Nick Mathewson2006-09-19
* r8819@Kushana: nickm | 2006-09-15 00:27:45 -0400••• Implement a smartlist_uniq() that will with luck not end the world. svn:r8396 Nick Mathewson2006-09-15
* 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
* parameterize the loudness of get_interface_address()•••svn:r8358 Roger Dingledine2006-09-09
* fix typo, add log message•••svn:r8357 Roger Dingledine2006-09-09
* 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
* r8696@Kushana: nickm | 2006-08-31 14:43:44 -0400••• Try to appease some warnings with newer gccs that believe that ignoring a return value is okay, but casting a return value and then ignoring it is a sign of madness. svn:r8312 Nick Mathewson2006-08-31
* r8692@Kushana: nickm | 2006-08-31 13:38:07 -0400••• Fix bug 327 (part 2): Cast char to unsigned char before passing to toupper/tolower. (Follow the same idiom as with isupper and friends, in case we run into the same problem on SGI or whereever it was.) svn:r8310 Nick Mathewson2006-08-31
* r8691@Kushana: nickm | 2006-08-31 13:30:46 -0400••• Fix bug 327 (part 1): Use correct macro to test for GCC 3 or later. svn:r8309 Nick Mathewson2006-08-31
* r8682@Kushana: nickm | 2006-08-29 17:58:59 -0400••• Fix compilation on GCC2 by disabling fun attributes unless __GNUC_MAJOR__ >= 3. svn:r8303 Nick Mathewson2006-08-29
* r8626@Kushana: nickm | 2006-08-27 23:45:46 -0400••• Aw, crap. Non-gcc bug. We need regular windows builds. svn:r8259 Nick Mathewson2006-08-28
* 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
* note a compile warning that we should investigate one day.•••svn:r7052 Roger Dingledine2006-08-14
* r7341@Kushana: nickm | 2006-08-11 00:51:05 -0700••• Amazing how much difference adding a ! to all your asserts can make. svn:r7029 Nick Mathewson2006-08-11
* r7337@Kushana: nickm | 2006-08-11 00:42:04 -0700••• Only use __builtin_offsetof with gcc 4 or later svn:r7028 Nick Mathewson2006-08-11
* r7335@Kushana: nickm | 2006-08-11 00:13:03 -0700••• fix wide lines svn:r7025 Nick Mathewson2006-08-11
* r7326@Kushana: nickm | 2006-08-10 23:50:49 -0700••• And another GCC change: predict that tor_frees() are usually real frees, and tor_asserts() usually wont happen. Other test should wait till -fprofile-arcs svn:r7022 Nick Mathewson2006-08-11
* r7325@Kushana: nickm | 2006-08-10 23:37:31 -0700••• Use gcc offsetof where available. svn:r7021 Nick Mathewson2006-08-11
* r7324@Kushana: nickm | 2006-08-10 23:23:15 -0700••• Add more warnings to the list of those we tolerate. Start using GCC attributes more, for better error checking and better code generation. svn:r7020 Nick Mathewson2006-08-11