aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAge
* r14051@Kushana: nickm | 2007-08-15 15:55:36 -0400Nick Mathewson2007-08-15
| | | | | | | Fix an XXXX020 and a few DOCDOCs. svn:r11127
* r14093@catbus: nickm | 2007-08-08 01:49:54 -0400Nick Mathewson2007-08-08
| | | | | | | Include fewer redundant headers; use the compiler search paths better. svn:r11060
* r14091@catbus: nickm | 2007-08-08 01:13:17 -0400Nick Mathewson2007-08-08
| | | | | | | Fix an annoying warning on OpenBSD: only include malloc.h if we are using it. svn:r11059
* r13926@Kushana: nickm | 2007-08-03 00:55:23 -0700Nick Mathewson2007-08-03
| | | | | | | Fix compilation with HAVE_GETADDRINFO unset svn:r11042
* r13907@Kushana: nickm | 2007-08-02 10:29:13 -0700Nick Mathewson2007-08-02
| | | | | | | Try (once again) to fix mingw build wrt detecting ipv6 types. svn:r11037
* r13873@Kushana: nickm | 2007-07-31 10:54:05 -0700Nick Mathewson2007-08-01
| | | | | | | Split over-optimized digestmap_set code into a generic part and a digestmap-specific part. svn:r11012
* r13872@Kushana: nickm | 2007-07-31 08:27:54 -0700Nick Mathewson2007-08-01
| | | | | | | Rename IN4_ADDR and IN6_ADDR to try to avoid conflicting with Windows definitions. This may fix the windows build. svn:r11011
* r13871@Kushana: nickm | 2007-07-31 08:10:58 -0700Nick Mathewson2007-08-01
| | | | | | | Fix warning aobut unused parameter on platforms without mallinfo. svn:r11010
* r14024@catbus: nickm | 2007-07-30 14:13:58 -0400Nick Mathewson2007-07-30
| | | | | | | 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
* r14015@catbus: nickm | 2007-07-30 13:18:05 -0400Nick Mathewson2007-07-30
| | | | | | | Add missing code documentation in src/common svn:r10991
* r13988@catbus: nickm | 2007-07-29 16:32:36 -0400Nick Mathewson2007-07-29
| | | | | | | 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
* r13964@catbus: nickm | 2007-07-28 22:55:10 -0400Nick Mathewson2007-07-29
| | | | | | | Change "IN_ADDR" macro to "IN4_ADDR" in an attempt to fix mingw compilation svn:r10963
* r13944@catbus: nickm | 2007-07-27 15:52:35 -0400Nick Mathewson2007-07-27
| | | | | | | | | Fix warnings on platforms where rlim values can be signed. Add an 8k buffer freelist. svn:r10948
* r13934@catbus: nickm | 2007-07-27 10:41:00 -0400Nick Mathewson2007-07-27
| | | | | | | Fix spelling; add a comment. svn:r10943
* Maybe fix #471. Compute the size of bitfields more correctly. Nick, please ↵Peter Palfrader2007-07-27
| | | | | | check. svn:r10941
* r13926@catbus: nickm | 2007-07-26 17:21:06 -0400Nick Mathewson2007-07-26
| | | | | | | Add a bit-array type with reasonably fast inline functions. svn:r10938
* r13920@catbus: nickm | 2007-07-26 16:25:25 -0400Nick Mathewson2007-07-26
| | | | | | | whitespace fixes svn:r10935
* r13858@catbus: nickm | 2007-07-22 18:44:02 -0400Nick Mathewson2007-07-22
| | | | | | | Fix/note some relatively trivial mem usage issues svn:r10905
* r13856@catbus: nickm | 2007-07-20 14:30:44 -0400Nick Mathewson2007-07-20
| | | | | | | slightly smarter heuristic about when to use obsolete ::a.b.c.d format. svn:r10893
* r13850@catbus: nickm | 2007-07-20 12:25:24 -0400Nick Mathewson2007-07-20
| | | | | | | Fix some bugs in ntop/pton. svn:r10891
* r13848@catbus: nickm | 2007-07-19 16:47:16 -0400Nick Mathewson2007-07-19
| | | | | | | Use our own version of inet_ntop and inet_pton everywhere, to avoid partitioning attacks. svn:r10888
* r13840@catbus: nickm | 2007-07-19 16:00:43 -0400Nick Mathewson2007-07-19
| | | | | | | Apparently, this problem can occur on the whole BSD family. "Yay." svn:r10884
* r13838@catbus: nickm | 2007-07-19 15:50:16 -0400Nick Mathewson2007-07-19
| | | | | | | Apparently, OSX does not define s6_addr32 or s6_addr16. How silly. svn:r10883
* r13836@catbus: nickm | 2007-07-19 15:43:04 -0400Nick Mathewson2007-07-19
| | | | | | | Some older GCCs think that iph4 could be used uninitialized. Fix that. svn:r10882
* r13834@catbus: nickm | 2007-07-19 15:40:42 -0400Nick Mathewson2007-07-19
| | | | | | | 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
* r13827@catbus: nickm | 2007-07-19 14:42:25 -0400Nick Mathewson2007-07-19
| | | | | | | Merge in some generic address manipulation code from croup. Needs some work. svn:r10880
* r13788@catbus: nickm | 2007-07-16 14:26:25 -0400Nick Mathewson2007-07-16
| | | | | | | 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
* free some more memory on exitRoger Dingledine2007-07-16
| | | | svn:r10837
* r13687@catbus: nickm | 2007-07-10 16:08:14 -0400Nick Mathewson2007-07-10
| | | | | | | Possible partial fix for bug 455: use eos logic everywhere. svn:r10786
* r13631@catbus: nickm | 2007-07-06 10:17:22 -0400Nick Mathewson2007-07-06
| | | | | | | Try to fix win32 build again. svn:r10750
* r13600@Kushana: nickm | 2007-07-05 23:49:47 -0400Nick Mathewson2007-07-06
| | | | | | | try to fix mingw compile svn:r10743
* r13596@kushana: nickm | 2007-07-05 10:53:22 -0400Nick Mathewson2007-07-05
| | | | | | | Argh, re-enable CRITICAL_SECTION code in win32. svn:r10741
* svn:r10740Nick Mathewson2007-07-05
|
* r13454@kushana: nickm | 2007-06-20 14:22:44 -0400Nick Mathewson2007-07-05
| | | | | | | Switch windows locking implementation to CRITICAL_SECTION, not Mutex: Mutex is heavier-weight, and meant for multi-process situations. svn:r10739
* Make it build with -O0 as wellPeter Palfrader2007-07-02
| | | | svn:r10722
* Make DEBUG_SMARTLIST workPeter Palfrader2007-07-02
| | | | svn:r10721
* r13570@catbus: nickm | 2007-06-30 20:41:05 -0400Nick Mathewson2007-07-01
| | | | | | | 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
* r13477@catbus: nickm | 2007-06-17 14:22:03 -0400Nick Mathewson2007-06-17
| | | | | | | 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
* r13476@catbus: nickm | 2007-06-17 14:04:41 -0400Nick Mathewson2007-06-17
| | | | | | | 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
* r13410@catbus: nickm | 2007-06-13 18:39:05 -0400Nick Mathewson2007-06-13
| | | | | | | Fix compilation on compilers that do not allow you to typedef the same type twice. svn:r10598
* r13384@catbus: nickm | 2007-06-13 13:53:26 -0400Nick Mathewson2007-06-13
| | | | | | | make test_* functions stop conflicting with variables named v1 and v2. svn:r10584
* r13383@catbus: nickm | 2007-06-13 13:53:04 -0400Nick Mathewson2007-06-13
| | | | | | | Expose a function to parse a private key from a string as CRYPTO_PRIVATE. For testing. svn:r10583
* r13362@catbus: nickm | 2007-06-11 19:00:23 -0400Nick Mathewson2007-06-11
| | | | | | | Fix a warning on platforms where sizeof(size_t)==8, but sizeof(unsigned long)<8. svn:r10566
* r13358@catbus: nickm | 2007-06-11 18:46:24 -0400Nick Mathewson2007-06-11
| | | | | | | Fix some dumb copypasta in r10562. svn:r10565
* r13354@catbus: nickm | 2007-06-11 18:17:40 -0400Nick Mathewson2007-06-11
| | | | | | | 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
* r13283@catbus: nickm | 2007-06-06 01:43:44 -0400Nick Mathewson2007-06-06
| | | | | | | Fix up a couple of loops flagged by -Wunsafe-loop-optimizations so that they are more readable (and more amenable to compilation) svn:r10513
* r13243@catbus: nickm | 2007-06-04 15:17:15 -0400Nick Mathewson2007-06-04
| | | | | | | 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
* r13239@catbus: nickm | 2007-06-04 11:30:37 -0400Nick Mathewson2007-06-04
| | | | | | | 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
* r13191@catbus: nickm | 2007-06-03 19:38:18 -0400Nick Mathewson2007-06-03
| | | | | | | Set umask(0700) when starting tor-gencert; resolves bug 445. svn:r10475
* r13154@catbus: nickm | 2007-06-02 11:26:44 -0400Nick Mathewson2007-06-02
| | | | | | | Server-side support for If-Modified-Since in HTTP requsts for v1 stuff, and for network-status documents. svn:r10451