summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2007-08-01 r13871@Kushana: nickm | 2007-07-31 08:10:58 -0700Nick Mathewson
Fix warning aobut unused parameter on platforms without mallinfo. svn:r11010
2007-07-30 r14024@catbus: nickm | 2007-07-30 14:13:58 -0400Nick Mathewson
Glibc (and maybe others) define a mallinfo() that can be used to see how the platform malloc is acting inside. When we have it, dump its output on dumpmemusage(). svn:r10996
2007-07-30 r14015@catbus: nickm | 2007-07-30 13:18:05 -0400Nick Mathewson
Add missing code documentation in src/common svn:r10991
2007-07-29 r13988@catbus: nickm | 2007-07-29 16:32:36 -0400Nick Mathewson
Cheesy attempt to break some censorware. Not a long-term fix, but it will be intersting to watch the epidemiology of the workarounds as the censors apply them. svn:r10975
2007-07-29 r13964@catbus: nickm | 2007-07-28 22:55:10 -0400Nick Mathewson
Change "IN_ADDR" macro to "IN4_ADDR" in an attempt to fix mingw compilation svn:r10963
2007-07-27 r13944@catbus: nickm | 2007-07-27 15:52:35 -0400Nick Mathewson
Fix warnings on platforms where rlim values can be signed. Add an 8k buffer freelist. svn:r10948
2007-07-27 r13934@catbus: nickm | 2007-07-27 10:41:00 -0400Nick Mathewson
Fix spelling; add a comment. svn:r10943
2007-07-27Maybe fix #471. Compute the size of bitfields more correctly. Nick, please ↵Peter Palfrader
check. svn:r10941
2007-07-26 r13926@catbus: nickm | 2007-07-26 17:21:06 -0400Nick Mathewson
Add a bit-array type with reasonably fast inline functions. svn:r10938
2007-07-26 r13920@catbus: nickm | 2007-07-26 16:25:25 -0400Nick Mathewson
whitespace fixes svn:r10935
2007-07-22 r13858@catbus: nickm | 2007-07-22 18:44:02 -0400Nick Mathewson
Fix/note some relatively trivial mem usage issues svn:r10905
2007-07-20 r13856@catbus: nickm | 2007-07-20 14:30:44 -0400Nick Mathewson
slightly smarter heuristic about when to use obsolete ::a.b.c.d format. svn:r10893
2007-07-20 r13850@catbus: nickm | 2007-07-20 12:25:24 -0400Nick Mathewson
Fix some bugs in ntop/pton. svn:r10891
2007-07-19 r13848@catbus: nickm | 2007-07-19 16:47:16 -0400Nick Mathewson
Use our own version of inet_ntop and inet_pton everywhere, to avoid partitioning attacks. svn:r10888
2007-07-19 r13840@catbus: nickm | 2007-07-19 16:00:43 -0400Nick Mathewson
Apparently, this problem can occur on the whole BSD family. "Yay." svn:r10884
2007-07-19 r13838@catbus: nickm | 2007-07-19 15:50:16 -0400Nick Mathewson
Apparently, OSX does not define s6_addr32 or s6_addr16. How silly. svn:r10883
2007-07-19 r13836@catbus: nickm | 2007-07-19 15:43:04 -0400Nick Mathewson
Some older GCCs think that iph4 could be used uninitialized. Fix that. svn:r10882
2007-07-19 r13834@catbus: nickm | 2007-07-19 15:40:42 -0400Nick Mathewson
Another patch from croup: drop support for address masks that do not correspond to bit prefixes. Nobody has used this for a while, and we have given warnings for a long time. svn:r10881
2007-07-19 r13827@catbus: nickm | 2007-07-19 14:42:25 -0400Nick Mathewson
Merge in some generic address manipulation code from croup. Needs some work. svn:r10880
2007-07-16 r13788@catbus: nickm | 2007-07-16 14:26:25 -0400Nick Mathewson
Patch from croup: rewrite the logic of get_next_token() to do the right thing with input that ends at weird places, or aligns with block boundaries after mmap. should fix bug 455. Needs fuzzing. svn:r10847
2007-07-16free some more memory on exitRoger Dingledine
svn:r10837
2007-07-10 r13687@catbus: nickm | 2007-07-10 16:08:14 -0400Nick Mathewson
Possible partial fix for bug 455: use eos logic everywhere. svn:r10786
2007-07-06 r13631@catbus: nickm | 2007-07-06 10:17:22 -0400Nick Mathewson
Try to fix win32 build again. svn:r10750
2007-07-06 r13600@Kushana: nickm | 2007-07-05 23:49:47 -0400Nick Mathewson
try to fix mingw compile svn:r10743
2007-07-05 r13596@kushana: nickm | 2007-07-05 10:53:22 -0400Nick Mathewson
Argh, re-enable CRITICAL_SECTION code in win32. svn:r10741
2007-07-05svn:r10740Nick Mathewson
2007-07-05 r13454@kushana: nickm | 2007-06-20 14:22:44 -0400Nick Mathewson
Switch windows locking implementation to CRITICAL_SECTION, not Mutex: Mutex is heavier-weight, and meant for multi-process situations. svn:r10739
2007-07-02Make it build with -O0 as wellPeter Palfrader
svn:r10722
2007-07-02Make DEBUG_SMARTLIST workPeter Palfrader
svn:r10721
2007-07-01 r13570@catbus: nickm | 2007-06-30 20:41:05 -0400Nick Mathewson
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
2007-06-17 r13477@catbus: nickm | 2007-06-17 14:22:03 -0400Nick Mathewson
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
2007-06-17 r13476@catbus: nickm | 2007-06-17 14:04:41 -0400Nick Mathewson
Build with fewer compiler warnings on Sun. (This and previous Sun patches are thanks to the tremendously handy services of unix-center.net.) svn:r10644
2007-06-13 r13410@catbus: nickm | 2007-06-13 18:39:05 -0400Nick Mathewson
Fix compilation on compilers that do not allow you to typedef the same type twice. svn:r10598
2007-06-13 r13384@catbus: nickm | 2007-06-13 13:53:26 -0400Nick Mathewson
make test_* functions stop conflicting with variables named v1 and v2. svn:r10584
2007-06-13 r13383@catbus: nickm | 2007-06-13 13:53:04 -0400Nick Mathewson
Expose a function to parse a private key from a string as CRYPTO_PRIVATE. For testing. svn:r10583
2007-06-11 r13362@catbus: nickm | 2007-06-11 19:00:23 -0400Nick Mathewson
Fix a warning on platforms where sizeof(size_t)==8, but sizeof(unsigned long)<8. svn:r10566
2007-06-11 r13358@catbus: nickm | 2007-06-11 18:46:24 -0400Nick Mathewson
Fix some dumb copypasta in r10562. svn:r10565
2007-06-11 r13354@catbus: nickm | 2007-06-11 18:17:40 -0400Nick Mathewson
Add typechecking wrappers to digestmap, so we can work with "map from digest to [FOO]" for arbitrary FOOs and still have some typesafety. svn:r10562
2007-06-06 r13283@catbus: nickm | 2007-06-06 01:43:44 -0400Nick Mathewson
Fix up a couple of loops flagged by -Wunsafe-loop-optimizations so that they are more readable (and more amenable to compilation) svn:r10513
2007-06-04 r13243@catbus: nickm | 2007-06-04 15:17:15 -0400Nick Mathewson
Start of code to compute consensus network-status stuff from a bunch of votes. Strangely, it does not yet feel like an enormous ugly hack. svn:r10489
2007-06-04 r13239@catbus: nickm | 2007-06-04 11:30:37 -0400Nick Mathewson
Fix the fix for bug 445: set umask properly. Also use open+fdopen rather than just umask+fopen, and create authority identity key with mode 400. svn:r10485
2007-06-03 r13191@catbus: nickm | 2007-06-03 19:38:18 -0400Nick Mathewson
Set umask(0700) when starting tor-gencert; resolves bug 445. svn:r10475
2007-06-02 r13154@catbus: nickm | 2007-06-02 11:26:44 -0400Nick Mathewson
Server-side support for If-Modified-Since in HTTP requsts for v1 stuff, and for network-status documents. svn:r10451
2007-06-02 r13143@catbus: nickm | 2007-06-01 16:43:40 -0400Nick Mathewson
Try to fix some mipspro compiler warnings. There will still be some left. svn:r10444
2007-05-31trivial changes from my sandboxRoger Dingledine
svn:r10429
2007-05-31 r13111@catbus: nickm | 2007-05-31 15:03:41 -0400Nick Mathewson
Cleanup whitespace. svn:r10425
2007-05-31 r13110@catbus: nickm | 2007-05-31 15:03:24 -0400Nick Mathewson
Fix windows build. svn:r10424
2007-05-31 r13101@catbus: nickm | 2007-05-31 12:57:42 -0400Nick Mathewson
Unit tests [and debugging] for tor_inet_ntop() and tor_inet_pton() svn:r10420
2007-05-29 r13058@catbus: nickm | 2007-05-29 14:39:53 -0400Nick Mathewson
Note that the fix for bug 222 should technically be turned into a real fix, not a kludge, one of these days. svn:r10397
2007-05-29 r13054@catbus: nickm | 2007-05-29 14:20:50 -0400Nick Mathewson
An even better workaround for the probably-already-fixed bug 222. svn:r10395