summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2006-08-11 r7341@Kushana: nickm | 2006-08-11 00:51:05 -0700Nick Mathewson
Amazing how much difference adding a ! to all your asserts can make. svn:r7029
2006-08-11 r7337@Kushana: nickm | 2006-08-11 00:42:04 -0700Nick Mathewson
Only use __builtin_offsetof with gcc 4 or later svn:r7028
2006-08-11 r7335@Kushana: nickm | 2006-08-11 00:13:03 -0700Nick Mathewson
fix wide lines svn:r7025
2006-08-11 r7326@Kushana: nickm | 2006-08-10 23:50:49 -0700Nick Mathewson
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
2006-08-11 r7325@Kushana: nickm | 2006-08-10 23:37:31 -0700Nick Mathewson
Use gcc offsetof where available. svn:r7021
2006-08-11 r7324@Kushana: nickm | 2006-08-10 23:23:15 -0700Nick Mathewson
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
2006-08-05 r7030@Kushana: nickm | 2006-08-04 14:46:52 -0700Nick Mathewson
Close an fd leak on failed mmap() svn:r6988
2006-08-05 r7029@Kushana: nickm | 2006-08-04 14:08:41 -0700Nick Mathewson
Remove now-spurious size and data arguments from tor_mmap_file svn:r6987
2006-08-05 r7028@Kushana: nickm | 2006-08-04 13:10:16 -0700Nick Mathewson
Make data and size fields visible in tor_mmap_t; hide win magic differently. svn:r6986
2006-08-04 r7025@Kushana: nickm | 2006-08-04 12:03:22 -0700Nick Mathewson
Finish (I hope) windows mmap impl. svn:r6981
2006-08-04 r7012@Kushana: nickm | 2006-08-03 19:21:25 -0700Nick Mathewson
Add an "mmap handle" type to encapsulate bookkeeping elements of mmap issues; add prelim win32 impl svn:r6980
2006-08-03turn future seg faults into assertsRoger Dingledine
svn:r6970
2006-07-31 r6993@Kushana: nickm | 2006-07-31 16:19:21 -0400Nick Mathewson
Interesting how much a ! can change the behavior of an assert. svn:r6962
2006-07-31 r6980@Kushana: nickm | 2006-07-31 13:18:22 -0400Nick Mathewson
Add a utility function to verify that a string has been through strlower. svn:r6959
2006-07-31 r6979@Kushana: nickm | 2006-07-31 13:16:58 -0400Nick Mathewson
Add assert_ok functions for strmap and digestmap; use them in unit test code. svn:r6958
2006-07-31 r6978@Kushana: nickm | 2006-07-31 13:16:14 -0400Nick Mathewson
Add isupper and islower wrappers to compat.h svn:r6957
2006-07-31 r6958@Kushana: nickm | 2006-07-29 18:54:15 -0400Nick Mathewson
Looks like we might need a priority queue. svn:r6953
2006-07-27Fix a bug in HT_REMOVE.Nick Mathewson
svn:r6925
2006-07-27Get better numbers out of HT_REP_OKNick Mathewson
svn:r6924
2006-07-25Remove .cvsignore files from trunkPeter Palfrader
svn:r6891
2006-07-23Whitespace fixNick Mathewson
svn:r6816
2006-07-23Add a mem_is_zero function (I think we will need this) and a STRUCT_OFFSET ↵Nick Mathewson
macro (we already need this). svn:r6810
2006-07-21Another MSVC6 fix. Grnk.Nick Mathewson
svn:r6802
2006-07-18Hm. We probably should define INT64_MAX if we really want it. (Especially ↵Nick Mathewson
since we only want it on one platform, where, coincidentally, it is not defined.) svn:r6784
2006-07-17MSVC6 is apparently terrified of unnatural cross-breeding between uint64_t ↵Nick Mathewson
and double, and needs more persuasion than usual to cast one to the other. Issue identified by Frediano Ziglio; patch revised for minimal impact on non-MSVC6 compilers. svn:r6768
2006-07-15stick to nick's nul/null conventionRoger Dingledine
svn:r6763
2006-07-09Make compilation work on old MSVCs without GetVertsionEx magic. Patch from ↵Nick Mathewson
Frediano Ziglio. svn:r6749
2006-07-06when an exit node gets a malformed begin cell, don't complain toRoger Dingledine
the node operator, since he can't do anything about it. svn:r6733
2006-07-04ok, i'm not allowed to say that there. oh well.Roger Dingledine
svn:r6720
2006-07-04fix a misleading function commentRoger Dingledine
svn:r6717
2006-07-04if we're the server-side of the tls and there are problems,Roger Dingledine
don't yell as loudly. svn:r6716
2006-07-04minor fixesRoger Dingledine
svn:r6710
2006-06-29Harmless: Z_OK is not an acceptable answer to Z_FINISH.Nick Mathewson
svn:r6701
2006-06-28Actually enable mmap. That should improve matters.Nick Mathewson
svn:r6694
2006-06-24Apparently, zlib sometimes reports Z_BUF_ERROR on input exhaustion as well ↵Nick Mathewson
as on running out of output space. This could well fix the assert bug reported by weasel and arma. svn:r6682
2006-06-22Ooh, that could have been bad. Sort digests as digests, not strings.Nick Mathewson
svn:r6679
2006-06-21When requesting or serving resources via fingerprint/digest, request and ↵Nick Mathewson
respond in-order, removing duplicates. svn:r6673
2006-06-18remove non-germane commentNick Mathewson
svn:r6640
2006-06-18perhaps the reason I rail against cut-and-paste programming so vehemently is ↵Nick Mathewson
that I am so bad at it. svn:r6638
2006-06-18Add some incremental encryption wrappers to torgzip codeNick Mathewson
svn:r6636
2006-06-18Add a memdup function to utilNick Mathewson
svn:r6635
2006-06-18Add smartlist_reverse and smartlist_pop_last.Nick Mathewson
svn:r6634
2006-06-09Another escape() fix, for picky sprintfs.Nick Mathewson
svn:r6579
2006-06-09Override our notion of printability for esc_for_log. 127 and up are never ↵Nick Mathewson
printable. Take that, locales. svn:r6578
2006-06-09Bandaid for a seg fault i just got in 0.1.1.20.Roger Dingledine
More generally, i reopened bug 222. Whee. svn:r6571
2006-06-07and now the exciting part: there is now no such thing as doingRoger Dingledine
a client-only tls, that is, one with no certs. svn:r6558
2006-06-07simplify the tortls api: we only support being a "server", thatRoger Dingledine
is, even tor clients do the same sort of handshake. this has been true for years, so it's best to get rid of the stale code. svn:r6557
2006-06-07looks like we missed a piece of the 0.1.1.9 paranoia code.Roger Dingledine
hopefully this change is a no-op. svn:r6556
2006-06-05simplify code now that libevent considers all sockets pollable.Roger Dingledine
what we really mean now is ">= 0", which is clearer to test for. svn:r6543
2006-06-05bandaid for bug 299. this is still a bug, since we don'tRoger Dingledine
initialize for hardware acceleration in certain configurations; but not critical until that is supported. svn:r6536