aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Expand)AuthorAge
...
* r12769@catbus: nickm | 2007-05-16 17:32:01 -0400••• Fix warnings from -Wunsafe-loop-optimizations, which incidentally turned up a logic bug in connection_or_flush_from_first_active_circuit that would overcount the number of cells flushed. svn:r10199 Nick Mathewson2007-05-16
* r12764@catbus: nickm | 2007-05-15 17:17:39 -0400••• Enable (and cope with) more GCC 4.2 warnings. svn:r10196 Nick Mathewson2007-05-15
* polish r9726-r9903•••svn:r10182 Roger Dingledine2007-05-13
* r12700@catbus: nickm | 2007-05-09 17:22:53 -0400••• [Backport candidate] On windows, open cached-routers with the sharing mode "FILE_SHARE_READ so that other processes can read it while Tor is running. (Reported by Janbar). svn:r10148 Nick Mathewson2007-05-09
* fix some code comments, a wrapper, and add a todo item•••svn:r10111 Roger Dingledine2007-05-04
* r12638@catbus: nickm | 2007-05-02 17:37:30 -0400••• Remove the "RSA keys are 128-bits" assumption from crypto.c svn:r10096 Nick Mathewson2007-05-02
* r12607@catbus: nickm | 2007-04-30 21:36:28 -0400••• More attempt to fix win32 building. This time, with extra linking. svn:r10080 Nick Mathewson2007-05-01
* r12595@catbus: nickm | 2007-04-30 18:32:34 -0400••• Move private function declarations from crypto.c into a new #ifdef CRYPTO_PRIVATE block in crypto.h svn:r10074 Nick Mathewson2007-04-30
* r12546@catbus: nickm | 2007-04-29 21:27:43 -0400••• Correctly report win98se and win95osr2 versions. svn:r10047 Nick Mathewson2007-04-30
* r12499@catbus: nickm | 2007-04-23 10:42:23 -0400••• Keep a freelist of unused 4k buffer chunks, rather than wasting 8k for every inactive connection_t. svn:r10006 Nick Mathewson2007-04-23
* 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 Mathewson2007-04-21
* r12458@catbus: nickm | 2007-04-19 15:52:23 -0400••• Fix a bug in displaying memory pool usage. Also dump cell allocation, and track padded_cell_ts as they are allocated and freed, to make sure we are not leaking cells. svn:r9992 Nick Mathewson2007-04-19
* r12456@catbus: nickm | 2007-04-19 14:47:01 -0400••• Make dumpmemusage() dump cell pool usage information. svn:r9991 Nick Mathewson2007-04-19
* r12414@catbus: nickm | 2007-04-16 17:37:17 -0400••• More proposal-104 stuff: actually remember extra-info stuff. svn:r9975 Nick Mathewson2007-04-16
* r12353@catbus: nickm | 2007-04-11 15:58:46 -0400••• Apparently some compilers think that anonymous unions are bad C. Technically, they're right, so let's name the union in mempool.c. svn:r9946 Nick Mathewson2007-04-11
* r12349@catbus: nickm | 2007-04-11 09:18:15 -0400••• Add code to shrink the cell memory pool by discarding empty chunks that have been empty for the last 60 seconds. Also, instead of having test.c duplicate declarations for exposed functions, put them inside #ifdef foo_PRIVATE blocks in the headers. This prevents bugs where test.c gets out of sync. svn:r9944 Nick Mathewson2007-04-11
* r12344@catbus: nickm | 2007-04-10 21:27:25 -0400••• Fix documentation and usage of 2nd argument to mp_pool_new. svn:r9942 Nick Mathewson2007-04-11
* r12338@catbus: nickm | 2007-04-10 20:29:05 -0400••• Document memory pool implementation, and tweak it even mor. See? Programming is fun. svn:r9940 Nick Mathewson2007-04-11
* r12337@catbus: nickm | 2007-04-10 17:55:26 -0400••• Add support for using memory pools to allocate queued cell; pass --disable-cell-pool to configure to disable this. svn:r9939 Nick Mathewson2007-04-11
* r12336@catbus: nickm | 2007-04-10 17:34:25 -0400••• Unit tests and debugging for memory pool implementation. svn:r9938 Nick Mathewson2007-04-11
* r12335@catbus: nickm | 2007-04-10 16:53:48 -0400••• Initial version of memory pool logic. Needs unit tests. Made to be easily separable from Tor. svn:r9937 Nick Mathewson2007-04-11
* Turn bool_neq and bool_eq into macros.•••svn:r9914 Nick Mathewson2007-03-29
* r12191@catbus: nickm | 2007-03-15 15:33:37 -0400••• Check return values from pthread_mutex functions. svn:r9862 Nick Mathewson2007-03-17
* clean up some minor typos and log confusions•••svn:r9832 Roger Dingledine2007-03-15
* r12533@Kushana: nickm | 2007-03-11 05:01:15 -0400••• Oh. Tor was supposed to compile? svn:r9797 Nick Mathewson2007-03-11
* r12474@Kushana: nickm | 2007-03-06 16:10:05 -0500••• We have a PATH_SEPARATOR macro. How about we use it? svn:r9782 Nick Mathewson2007-03-09
* 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 Mathewson2007-03-09
* r12468@Kushana: nickm | 2007-03-06 15:24:00 -0500••• More unit tests: gcov is fun. svn:r9748 Nick Mathewson2007-03-06
* r12076@catbus: nickm | 2007-03-04 15:41:04 -0500••• oops; remove spurious argument from _log_prefix. svn:r9734 Nick Mathewson2007-03-04
* r12074@catbus: nickm | 2007-03-04 15:11:43 -0500••• Make all LD_BUG log messsages get prefixed with "Bug: ". Remove manually-generated "Bug: "s from log-messages. (Apparently, we remembered to add them about 40% of the time.) svn:r9733 Nick Mathewson2007-03-04
* r12011@catbus: nickm | 2007-02-28 18:13:32 -0500••• Back out insufficiently evidenced FULL_UNROLL in aes.c svn:r9693 Nick Mathewson2007-03-01
* 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 Mathewson2007-02-28
* r12001@catbus: nickm | 2007-02-28 15:24:12 -0500••• Try to build without warnings on mingw with verbose warnings on. First attempt. svn:r9688 Nick Mathewson2007-02-28
* r11998@catbus: nickm | 2007-02-28 13:56:55 -0500••• Correct an MSC_VER check. svn:r9685 Nick Mathewson2007-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 Mathewson2007-02-28
* r11981@catbus: nickm | 2007-02-28 11:55:27 -0500••• Clamp declarable bandwidth at INT32_MAX, not INT_MAX. svn:r9677 Nick Mathewson2007-02-28
* r11976@catbus: nickm | 2007-02-27 19:35:59 -0500••• Add some missing (redundant but helpful in most cases) static declarations, and remove a function nobody was calling. svn:r9672 Nick Mathewson2007-02-28
* Add a missing paren, and the results of an experiment.•••svn:r9664 Nick Mathewson2007-02-27
* r11959@catbus: nickm | 2007-02-26 22:53:36 -0500••• try to make aes encryption of cells about 30-40% faster where applicable. offer not available for all architectures or all versions of openssl. svn:r9663 Nick Mathewson2007-02-27
* r11956@catbus: nickm | 2007-02-26 13:33:49 -0500••• Add a quick-and-dirty AES benchmark function to the bottom of aes.c so I can go collecting data. svn:r9660 Nick Mathewson2007-02-26
* r11954@catbus: nickm | 2007-02-26 13:01:19 -0500••• Note some optimizations that are probably not worth it for 0.1.2.x based on preliminary profiling. svn:r9659 Nick Mathewson2007-02-26
* more cleanups; getting closer•••svn:r9655 Roger Dingledine2007-02-26
* doc pedant•••svn:r9634 Roger Dingledine2007-02-24
* r11909@catbus: nickm | 2007-02-24 02:37:40 -0500••• Move tricky "delete the member of the smartlist currently under iteration" logic into its own happyfun macro. svn:r9633 Nick Mathewson2007-02-24
* cosmetic, comment, and todo fixes•••svn:r9627 Roger Dingledine2007-02-24
* r11860@catbus: nickm | 2007-02-21 00:56:15 -0500••• Another optimization suggested by Shark output: shave off >90% of uses of logv by cutting down on calls to log_debug when log actually debugging. This is showing up in some profiles bug not others, and might be as much as 2.5%. svn:r9612 Nick Mathewson2007-02-21
* r11852@catbus: nickm | 2007-02-20 17:25:17 -0500••• Reverse arguments in memset() call in no-mmap version of tor_munmap_file(). Resolves bug 392. Spotted by "fookoowa"--thanks! svn:r9604 Nick Mathewson2007-02-20
* r11850@catbus: nickm | 2007-02-20 13:34:13 -0500••• Apply patch from coderman: have posix subthreads mask out signals. This could prevent some kinds of crashes when subthreads try to handle SIGPIPEs and die in the attempt. Backport candidate. svn:r9603 Nick Mathewson2007-02-20
* r11832@catbus: nickm | 2007-02-16 15:31:59 -0500••• Fix 35 remaining DOCDOC comments. Yowza. svn:r9596 Nick Mathewson2007-02-16
* r11826@catbus: nickm | 2007-02-16 14:58:38 -0500••• Resolve 56 DOCDOC comments. svn:r9594 Nick Mathewson2007-02-16