aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAge
* r12852@catbus: nickm | 2007-05-22 11:00:27 -0400Nick Mathewson2007-05-22
| | | | | | | Use svn revisions consistently throughout all log messages. svn:r10291
* r12850@catbus: nickm | 2007-05-21 22:20:42 -0400Nick Mathewson2007-05-22
| | | | | | | 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
* r13017@Kushana: nickm | 2007-05-20 13:40:45 -0400Nick Mathewson2007-05-20
| | | | | | | Address points in r10227. svn:r10229
* point out two remote crash bugs, a memory leak, and a few otherRoger Dingledine2007-05-20
| | | | | | | items we should probably look into. svn:r10227
* r12812@catbus: nickm | 2007-05-19 16:17:36 -0400Nick Mathewson2007-05-19
| | | | | | | Fix compilation with -O0; add unit tests for swap and shuffle. svn:r10223
* r12790@catbus: nickm | 2007-05-18 17:24:26 -0400Nick Mathewson2007-05-18
| | | | | | | Fix build on gcc 4.2 svn:r10212
* r12980@Kushana: nickm | 2007-05-18 14:11:05 -0400Nick Mathewson2007-05-18
| | | | | | | Add a "swap" function to smartlist, add a "shuffle" function for smartlist to crypto.c, and make appropriate hashtable functions be more const. svn:r10208
* r12777@catbus: nickm | 2007-05-16 21:52:23 -0400Nick Mathewson2007-05-17
| | | | | | | Fix dumb bug introduced in r10199 svn:r10202
* r12769@catbus: nickm | 2007-05-16 17:32:01 -0400Nick Mathewson2007-05-16
| | | | | | | 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
* r12764@catbus: nickm | 2007-05-15 17:17:39 -0400Nick Mathewson2007-05-15
| | | | | | | Enable (and cope with) more GCC 4.2 warnings. svn:r10196
* polish r9726-r9903Roger Dingledine2007-05-13
| | | | svn:r10182
* r12700@catbus: nickm | 2007-05-09 17:22:53 -0400Nick Mathewson2007-05-09
| | | | | | | [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
* fix some code comments, a wrapper, and add a todo itemRoger Dingledine2007-05-04
| | | | svn:r10111
* r12638@catbus: nickm | 2007-05-02 17:37:30 -0400Nick Mathewson2007-05-02
| | | | | | | Remove the "RSA keys are 128-bits" assumption from crypto.c svn:r10096
* r12607@catbus: nickm | 2007-04-30 21:36:28 -0400Nick Mathewson2007-05-01
| | | | | | | More attempt to fix win32 building. This time, with extra linking. svn:r10080
* r12595@catbus: nickm | 2007-04-30 18:32:34 -0400Nick Mathewson2007-04-30
| | | | | | | Move private function declarations from crypto.c into a new #ifdef CRYPTO_PRIVATE block in crypto.h svn:r10074
* r12546@catbus: nickm | 2007-04-29 21:27:43 -0400Nick Mathewson2007-04-30
| | | | | | | Correctly report win98se and win95osr2 versions. svn:r10047
* r12499@catbus: nickm | 2007-04-23 10:42:23 -0400Nick Mathewson2007-04-23
| | | | | | | Keep a freelist of unused 4k buffer chunks, rather than wasting 8k for every inactive connection_t. svn:r10006
* r12759@Kushana: nickm | 2007-04-20 08:47:20 -0400Nick Mathewson2007-04-21
| | | | | | | 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
* r12458@catbus: nickm | 2007-04-19 15:52:23 -0400Nick Mathewson2007-04-19
| | | | | | | 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
* r12456@catbus: nickm | 2007-04-19 14:47:01 -0400Nick Mathewson2007-04-19
| | | | | | | Make dumpmemusage() dump cell pool usage information. svn:r9991
* r12414@catbus: nickm | 2007-04-16 17:37:17 -0400Nick Mathewson2007-04-16
| | | | | | | More proposal-104 stuff: actually remember extra-info stuff. svn:r9975
* r12353@catbus: nickm | 2007-04-11 15:58:46 -0400Nick Mathewson2007-04-11
| | | | | | | 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
* r12349@catbus: nickm | 2007-04-11 09:18:15 -0400Nick Mathewson2007-04-11
| | | | | | | 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
* r12344@catbus: nickm | 2007-04-10 21:27:25 -0400Nick Mathewson2007-04-11
| | | | | | | Fix documentation and usage of 2nd argument to mp_pool_new. svn:r9942
* r12338@catbus: nickm | 2007-04-10 20:29:05 -0400Nick Mathewson2007-04-11
| | | | | | | Document memory pool implementation, and tweak it even mor. See? Programming is fun. svn:r9940
* r12337@catbus: nickm | 2007-04-10 17:55:26 -0400Nick Mathewson2007-04-11
| | | | | | | Add support for using memory pools to allocate queued cell; pass --disable-cell-pool to configure to disable this. svn:r9939
* r12336@catbus: nickm | 2007-04-10 17:34:25 -0400Nick Mathewson2007-04-11
| | | | | | | Unit tests and debugging for memory pool implementation. svn:r9938
* r12335@catbus: nickm | 2007-04-10 16:53:48 -0400Nick Mathewson2007-04-11
| | | | | | | Initial version of memory pool logic. Needs unit tests. Made to be easily separable from Tor. svn:r9937
* Turn bool_neq and bool_eq into macros.Nick Mathewson2007-03-29
| | | | svn:r9914
* r12191@catbus: nickm | 2007-03-15 15:33:37 -0400Nick Mathewson2007-03-17
| | | | | | | Check return values from pthread_mutex functions. svn:r9862
* clean up some minor typos and log confusionsRoger Dingledine2007-03-15
| | | | svn:r9832
* r12533@Kushana: nickm | 2007-03-11 05:01:15 -0400Nick Mathewson2007-03-11
| | | | | | | Oh. Tor was supposed to compile? svn:r9797
* r12474@Kushana: nickm | 2007-03-06 16:10:05 -0500Nick Mathewson2007-03-09
| | | | | | | We have a PATH_SEPARATOR macro. How about we use it? svn:r9782
* r12473@Kushana: nickm | 2007-03-06 15:49:45 -0500Nick Mathewson2007-03-09
| | | | | | | Excise PREDICT and PREDICT_FALSE in favor of PREDICT_LIKELY and PREDICT_UNLIKELY. svn:r9781
* r12468@Kushana: nickm | 2007-03-06 15:24:00 -0500Nick Mathewson2007-03-06
| | | | | | | More unit tests: gcov is fun. svn:r9748
* r12076@catbus: nickm | 2007-03-04 15:41:04 -0500Nick Mathewson2007-03-04
| | | | | | | oops; remove spurious argument from _log_prefix. svn:r9734
* r12074@catbus: nickm | 2007-03-04 15:11:43 -0500Nick Mathewson2007-03-04
| | | | | | | 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
* r12011@catbus: nickm | 2007-02-28 18:13:32 -0500Nick Mathewson2007-03-01
| | | | | | | Back out insufficiently evidenced FULL_UNROLL in aes.c svn:r9693
* r12006@catbus: nickm | 2007-02-28 16:06:24 -0500Nick Mathewson2007-02-28
| | | | | | | 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
* r12001@catbus: nickm | 2007-02-28 15:24:12 -0500Nick Mathewson2007-02-28
| | | | | | | Try to build without warnings on mingw with verbose warnings on. First attempt. svn:r9688
* r11998@catbus: nickm | 2007-02-28 13:56:55 -0500Nick Mathewson2007-02-28
| | | | | | | Correct an MSC_VER check. svn:r9685
* r11992@catbus: nickm | 2007-02-28 12:46:32 -0500Nick Mathewson2007-02-28
| | | | | | | compile fix on mingw: mingw does not define _MSC_VER. svn:r9682
* r11981@catbus: nickm | 2007-02-28 11:55:27 -0500Nick Mathewson2007-02-28
| | | | | | | Clamp declarable bandwidth at INT32_MAX, not INT_MAX. svn:r9677
* r11976@catbus: nickm | 2007-02-27 19:35:59 -0500Nick Mathewson2007-02-28
| | | | | | | Add some missing (redundant but helpful in most cases) static declarations, and remove a function nobody was calling. svn:r9672
* Add a missing paren, and the results of an experiment.Nick Mathewson2007-02-27
| | | | svn:r9664
* r11959@catbus: nickm | 2007-02-26 22:53:36 -0500Nick Mathewson2007-02-27
| | | | | | | 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
* r11956@catbus: nickm | 2007-02-26 13:33:49 -0500Nick Mathewson2007-02-26
| | | | | | | Add a quick-and-dirty AES benchmark function to the bottom of aes.c so I can go collecting data. svn:r9660
* r11954@catbus: nickm | 2007-02-26 13:01:19 -0500Nick Mathewson2007-02-26
| | | | | | | Note some optimizations that are probably not worth it for 0.1.2.x based on preliminary profiling. svn:r9659
* more cleanups; getting closerRoger Dingledine2007-02-26
| | | | svn:r9655