| Commit message (Expand) | Author | Age |
* | r16016@catbus: nickm | 2007-10-21 20:44:19 -0400••• Check a platform assumption we have made without checking for too long: "Characters are represented in ascii."
svn:r12088
| Nick Mathewson | 2007-10-22 |
* | r14651@catbus: nickm | 2007-08-17 21:37:03 -0400••• Another attempt to confirm to msvc for bug 482.
svn:r11162
| Nick Mathewson | 2007-08-18 |
* | r14639@catbus: nickm | 2007-08-17 17:45:28 -0400••• Compile without warnings on MinGW, even with --enable-gcc-warnings enabled.
svn:r11157
| Nick Mathewson | 2007-08-17 |
* | r14634@catbus: nickm | 2007-08-17 16:43:49 -0400••• Try to fix bug 482: do not rely on s6_addr16 or s6_addr32 on MSVC. How ugly.
svn:r11155
| Nick Mathewson | 2007-08-17 |
* | r13907@Kushana: nickm | 2007-08-02 10:29:13 -0700••• Try (once again) to fix mingw build wrt detecting ipv6 types.
svn:r11037
| Nick Mathewson | 2007-08-02 |
* | r13872@Kushana: nickm | 2007-07-31 08:27:54 -0700••• Rename IN4_ADDR and IN6_ADDR to try to avoid conflicting with Windows definitions. This may fix the windows build.
svn:r11011
| Nick Mathewson | 2007-08-01 |
* | r13964@catbus: nickm | 2007-07-28 22:55:10 -0400••• Change "IN_ADDR" macro to "IN4_ADDR" in an attempt to fix mingw compilation
svn:r10963
| Nick Mathewson | 2007-07-29 |
* | r13920@catbus: nickm | 2007-07-26 16:25:25 -0400••• whitespace fixes
svn:r10935
| Nick Mathewson | 2007-07-26 |
* | r13840@catbus: nickm | 2007-07-19 16:00:43 -0400••• Apparently, this problem can occur on the whole BSD family. "Yay."
svn:r10884
| Nick Mathewson | 2007-07-19 |
* | r13838@catbus: nickm | 2007-07-19 15:50:16 -0400••• Apparently, OSX does not define s6_addr32 or s6_addr16. How silly.
svn:r10883
| Nick Mathewson | 2007-07-19 |
* | r13827@catbus: nickm | 2007-07-19 14:42:25 -0400••• Merge in some generic address manipulation code from croup. Needs some work.
svn:r10880
| Nick Mathewson | 2007-07-19 |
* | r13454@kushana: nickm | 2007-06-20 14:22:44 -0400••• Switch windows locking implementation to CRITICAL_SECTION, not Mutex: Mutex is heavier-weight, and meant for multi-process situations.
svn:r10739
| Nick Mathewson | 2007-07-05 |
* | r13570@catbus: nickm | 2007-06-30 20:41:05 -0400••• Implement conditions in compat.c; switch windows to use "critical sections" instead of mutexes. Apparently, mutexes are for IPC and critical sections are for multithreaded.
svn:r10716
| Nick Mathewson | 2007-07-01 |
* | r13477@catbus: nickm | 2007-06-17 14:22:03 -0400••• Sun CC likes to give warnings for the do { } while(0) construction for making statement-like macros. Define STMT_BEGIN/STMT_END macros that do the right thing, and use them everywhere.
svn:r10645
| Nick Mathewson | 2007-06-17 |
* | r13110@catbus: nickm | 2007-05-31 15:03:24 -0400••• Fix windows build.
svn:r10424
| Nick Mathewson | 2007-05-31 |
* | r12955@catbus: nickm | 2007-05-25 13:17:30 -0400••• First bare stubs of ipv6 work: commit some (untested, hence doublessly broken) implementations of inet_ntop/pton for systems that lack them.
svn:r10326
| Nick Mathewson | 2007-05-25 |
* | r12916@catbus: nickm | 2007-05-24 12:43:45 -0400••• Add math functions to round values to the nearest power of 2. Make mempools more careful about making sure that the size of their chunks is a little less than a power of 2, not a little more.
svn:r10304
| Nick Mathewson | 2007-05-24 |
* | r12850@catbus: nickm | 2007-05-21 22:20:42 -0400••• Partial backport candidate: do not rely on finding a \0 after an mmaped() router/extrainfo file. Also, set journal length correctly when starting up.
svn:r10248
| Nick Mathewson | 2007-05-22 |
* | r12764@catbus: nickm | 2007-05-15 17:17:39 -0400••• Enable (and cope with) more GCC 4.2 warnings.
svn:r10196
| Nick Mathewson | 2007-05-15 |
* | r12759@Kushana: nickm | 2007-04-20 08:47:20 -0400••• Track the number of connection_t separately from the number of open sockets. It is already possible to have connections that do not count: resolving conns, for one. Once we move from socketpairs to linked conns, and once we do dns proxying, there will be lots of such connections.
svn:r9994
| Nick Mathewson | 2007-04-21 |
* | r12473@Kushana: nickm | 2007-03-06 15:49:45 -0500••• Excise PREDICT and PREDICT_FALSE in favor of PREDICT_LIKELY and PREDICT_UNLIKELY.
svn:r9781
| Nick Mathewson | 2007-03-09 |
* | r12468@Kushana: nickm | 2007-03-06 15:24:00 -0500••• More unit tests: gcov is fun.
svn:r9748
| Nick Mathewson | 2007-03-06 |
* | r12006@catbus: nickm | 2007-02-28 16:06:24 -0500••• On mingw, use "%I64u" to printf/scanf 64-bit integers, instead of the usual GCC "%llu". This prevents a bug when saving 64-bit int configuration values on mingw; the high-order 32 bits would get truncated. If the value was then reloaded, disaster would occur. (Fixes bug 400 and maybe also bug 397.) Backport candidate.
svn:r9691
| Nick Mathewson | 2007-02-28 |
* | r11998@catbus: nickm | 2007-02-28 13:56:55 -0500••• Correct an MSC_VER check.
svn:r9685
| Nick Mathewson | 2007-02-28 |
* | r11992@catbus: nickm | 2007-02-28 12:46:32 -0500••• compile fix on mingw: mingw does not define _MSC_VER.
svn:r9682
| Nick Mathewson | 2007-02-28 |
* | r11775@catbus: nickm | 2007-02-12 16:39:09 -0500••• Update copyright dates.
svn:r9570
| Nick Mathewson | 2007-02-12 |
* | r11774@catbus: nickm | 2007-02-12 16:31:47 -0500••• Handle errors on opening cached-routers* more uniformly and sanely: log not-found errors at level INFO, and all other errors at level WARN. Needs testing on win32.
svn:r9569
| Nick Mathewson | 2007-02-12 |
* | r11607@catbus: nickm | 2007-01-30 17:19:27 -0500••• Audit non-const char arguments; make a lot more of them const.
svn:r9466
| Nick Mathewson | 2007-01-30 |
* | 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 |
* | 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 |
* | Merge in some bsockets calls, all wrapped inside #if defined(USE_BSOCKETS)•••svn:r8427
| Nick Mathewson | 2006-09-19 |
* | 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 |
* | 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 |
* | 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 Mathewson | 2006-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 Mathewson | 2006-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 Mathewson | 2006-08-28 |
* | 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 Mathewson | 2006-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 Mathewson | 2006-08-11 |
* | r7029@Kushana: nickm | 2006-08-04 14:08:41 -0700••• Remove now-spurious size and data arguments from tor_mmap_file
svn:r6987
| Nick Mathewson | 2006-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 Mathewson | 2006-08-05 |
* | 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 Mathewson | 2006-08-04 |
* | r6978@Kushana: nickm | 2006-07-31 13:16:14 -0400••• Add isupper and islower wrappers to compat.h
svn:r6957
| Nick Mathewson | 2006-07-31 |
* | Another MSVC6 fix. Grnk.•••svn:r6802
| Nick Mathewson | 2006-07-21 |
* | MSVC6 is apparently terrified of unnatural cross-breeding between uint64_t an...•••svn:r6768
| Nick Mathewson | 2006-07-17 |
* | minor fixes•••svn:r6710
| Roger Dingledine | 2006-07-04 |
* | 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 Dingledine | 2006-06-05 |
* | Patch based on post by Mike C to or-dev; special-case based on use of MSVC, r...•••svn:r6523
| Nick Mathewson | 2006-06-03 |
* | Add a basic mmap function, with a "fake-it" wrapper to do read_file_from_str ...•••svn:r6510
| Nick Mathewson | 2006-05-28 |
* | Throw out this UNALIGNED_INT_ACCESS_OK nonsense. Even where it works, it is ...•••svn:r6473
| Nick Mathewson | 2006-05-23 |