| Commit message (Expand) | Author | Age |
* | r11444@Kushana: nickm | 2006-12-07 09:38:52 -0500••• Fix a couple of obvious bugs in tor_mmap_file on Windows: first, fix a boolean error when checking the return value of CreateFileMapping. Second, CreateFileMapping is documented to return NULL on failure.
svn:r9035
| Nick Mathewson | 2006-12-07 |
* | help ftello find its prototype•••svn:r9016
| Roger Dingledine | 2006-12-02 |
* | cleanups, bump to 0.1.2.4-alpha•••svn:r9015
| Roger Dingledine | 2006-12-02 |
* | r9371@totoro: nickm | 2006-11-21 10:59:28 -0500••• Fix a trivial comment.
svn:r8979
| Nick Mathewson | 2006-11-21 |
* | r9315@totoro: nickm | 2006-11-13 22:40:59 -0500••• Fix a build warning on angela-sid
svn:r8949
| Nick Mathewson | 2006-11-14 |
* | r9313@totoro: nickm | 2006-11-13 20:07:41 -0500••• Try to compile with fewer warnings on irix64's MIPSpro compiler /
environment, which apparently believes that:
- off_t can be bigger than size_t.
- only mean kids assign things they do not subsequently inspect.
I don't try to fix the "error" that makes it say:
cc-3970 cc: WARNING File = main.c, Line = 1277
conversion from pointer to same-sized integral type (potential portability
problem)
uintptr_t sig = (uintptr_t)arg;
Because really, what can you do about a compiler that claims to be c99
but doesn't understand that void* x = NULL; uintptr_t y = (uintptr_t) x;
is safe?
svn:r8948
| Nick Mathewson | 2006-11-14 |
* | Avoid assert failure when our cached-routers file is empty on startup.•••(reported by revstray)
svn:r8928
| Roger Dingledine | 2006-11-12 |
* | r9380@Kushana: nickm | 2006-10-24 21:25:07 -0400••• Add string.h include to compat.h so that strlcpy() and strlcat() will always be defined after including compat.h. This should resolve warnings on centos.
svn:r8824
| Nick Mathewson | 2006-10-25 |
* | checkpoint some changes as i read diffs•••svn:r8780
| Roger Dingledine | 2006-10-20 |
* | r9304@dhcp-18-188-67-85: nickm | 2006-10-20 12:22:46 -0400••• Change HT_INIT from a special-case to a macro-calling-a-function like the rest of ht.h. This might prevent errors if somebody did, I dunno, "HT_INIT(tp, hashtable++)". Based on a patch from Watson Ladd.
svn:r8776
| Nick Mathewson | 2006-10-20 |
* | i saw somebody on #tor paste a string where these were•••null. better safe than sorry.
svn:r8767
| Roger Dingledine | 2006-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 Mathewson | 2006-10-19 |
* | r8971@totoro: nickm | 2006-10-09 10:16:23 -0400••• Move definition of ssize_t to torint.h
svn:r8670
| Nick Mathewson | 2006-10-09 |
* | r8967@totoro: nickm | 2006-10-08 23:38:50 -0400••• Fix some test and warn failures in last commit
svn:r8665
| Nick Mathewson | 2006-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 Mathewson | 2006-10-09 |
* | Add missing return so this builds on mingw.•••svn:r8649
| Andrew Lewman | 2006-10-08 |
* | r8923@totoro: nickm | 2006-10-07 11:44:33 -0400••• More doxygen comments
svn:r8637
| Nick Mathewson | 2006-10-07 |
* | more minor cleanups•••svn:r8630
| Roger Dingledine | 2006-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 Dingledine | 2006-10-07 |
* | minor cleanups•••svn:r8622
| Roger Dingledine | 2006-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 Mathewson | 2006-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 Mathewson | 2006-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 Mathewson | 2006-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 Mathewson | 2006-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 Mathewson | 2006-10-02 |
* | r8825@totoro: nickm | 2006-10-01 17:41:27 -0400••• Add function to return a random uint64_t.
svn:r8570
| Nick Mathewson | 2006-10-01 |
* | r9032@Kushana: nickm | 2006-09-29 18:51:42 -0400••• Now, all log messages should be distinct.
svn:r8545
| Nick Mathewson | 2006-09-29 |
* | r9025@Kushana: nickm | 2006-09-29 18:33:13 -0400••• Differentiate more duplicated log entries
svn:r8542
| Nick Mathewson | 2006-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 Mathewson | 2006-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 Mathewson | 2006-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 Mathewson | 2006-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 Mathewson | 2006-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 Mathewson | 2006-09-28 |
* | Backport candidate: remove dangerous free(0) on hashtable init•••svn:r8499
| Nick Mathewson | 2006-09-25 |
* | add missing paren in dmalloc tor_free•••svn:r8498
| Nick Mathewson | 2006-09-25 |
* | r8878@Kushana: nickm | 2006-09-21 17:15:47 -0400••• Trivial whitespace cleanups.
svn:r8443
| Nick Mathewson | 2006-09-21 |
* | Speed up eat_whitespace by a lot.•••svn:r8434
| Nick Mathewson | 2006-09-19 |
* | NEEDS REVIEW. Act on previous comment, and handle named servers differently: ...•••svn:r8433
| Nick Mathewson | 2006-09-19 |
* | Malloc and friends are critical-path: Thus, add an it-wont-happen branch pred...•••svn:r8431
| Nick Mathewson | 2006-09-19 |
* | Switch routerlist.c to using memcmp on digests rather than crypto_pk_cmp_keys...•••svn:r8430
| Nick Mathewson | 2006-09-19 |
* | Merge in some bsockets calls, all wrapped inside #if defined(USE_BSOCKETS)•••svn:r8427
| Nick Mathewson | 2006-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 Mathewson | 2006-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 Palfrader | 2006-09-14 |
* | parameterize the loudness of get_interface_address()•••svn:r8358
| Roger Dingledine | 2006-09-09 |
* | fix typo, add log message•••svn:r8357
| Roger Dingledine | 2006-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 Mathewson | 2006-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 Mathewson | 2006-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 Chiussi | 2006-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 Mathewson | 2006-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 Mathewson | 2006-08-31 |