summaryrefslogtreecommitdiff
path: root/src/common/torint.h
AgeCommit message (Collapse)Author
2011-04-27Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
Conflicts: src/common/torint.h
2011-04-26Make SIZE_T_CEILING unsigned; add a signed SSIZE_T_CEILINGNick Mathewson
None of the comparisons were _broken_ previously, but avoiding signed/unsigned comparisons makes everybody happier. Fixes bug2475.
2011-03-16Doxygen documentation for about 100 things that didn't have anyNick Mathewson
About 860 doxygen-less things remain in 0.2.2
2011-01-12Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
2011-01-12Make our replacement INT32_MAX always signedNick Mathewson
The C standard says that INT32_MAX is supposed to be a signed integer. On platforms that have it, we get the correct platform-defined value. Our own replacement, however, was unsigned. That's going to cause a bug somewhere eventually.
2011-01-03Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
Conflicts: src/common/test.h src/or/test.c
2011-01-03Bump copyright statements to 2011Nick Mathewson
2010-12-15Merge remote branch fix_security_bug_021 into fix_security_bug_022Nick Mathewson
Conflicts: src/common/memarea.c src/or/or.h src/or/rendclient.c
2010-12-13Base SIZE_T_CEILING on SSIZE_T_MAX.Nick Mathewson
2010-02-27Merge remote branch 'origin/maint-0.2.1'Nick Mathewson
Conflicts: src/common/test.h src/or/test.c
2010-02-27Update Tor Project copyright yearsNick Mathewson
2009-10-14Code to parse and access network parameters.Nick Mathewson
Partial backport of 381766ce4b1145460. Partial backport of 56c6d78520a98fb64.
2009-09-14Implement proposal 167: Authorities vote on network parameters.Nick Mathewson
This code adds a new field to vote on: "params". It consists of a list of sorted key=int pairs. The output is computed as the median of all the integers for any key on which anybody voted. Improved with input from Roger.
2009-05-04Update copyright to 2009.Karsten Loesing
2009-05-02Update copyright to 2009.Karsten Loesing
2009-01-22Support 64-bit time_t. Patch from Matthias Drochner. Partial backport ↵Nick Mathewson
candidate. svn:r18234
2009-01-04Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson
The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867
2008-12-29Use a consistent naming standard for header file guard macros, taking care ↵Nick Mathewson
not to collide with any system headers. This tripped us up on Android. svn:r17805
2008-11-05make read_all and write_all return ssize_t.Nick Mathewson
svn:r17194
2008-02-22 r18360@catbus: nickm | 2008-02-21 22:26:32 -0500Nick Mathewson
Make torint.h define ssize_t more robustly; add spaces to last patch svn:r13670
2008-02-21 r18345@catbus: nickm | 2008-02-21 13:45:04 -0500Nick Mathewson
Do the last part of arma's fix for bug 437: Track the origin of every addrmap, and use this info so we can remove all the trackhostexits-originated mappings for a given exit. svn:r13660
2008-02-07Update some copyright notices: it is now 2008.Nick Mathewson
svn:r13412
2007-12-12clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine
svn:r12786
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-02-28 r11981@catbus: nickm | 2007-02-28 11:55:27 -0500Nick Mathewson
Clamp declarable bandwidth at INT32_MAX, not INT_MAX. svn:r9677
2007-02-12 r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson
Update copyright dates. svn:r9570
2006-11-14 r9313@totoro: nickm | 2006-11-13 20:07:41 -0500Nick Mathewson
Try to compile with fewer warnings on irix64's MIPSpro compiler / environment, which apparently believes that: - off_t can be bigger than size_t. - only mean kids assign things they do not subsequently inspect. I don't try to fix the "error" that makes it say: cc-3970 cc: WARNING File = main.c, Line = 1277 conversion from pointer to same-sized integral type (potential portability problem) uintptr_t sig = (uintptr_t)arg; Because really, what can you do about a compiler that claims to be c99 but doesn't understand that void* x = NULL; uintptr_t y = (uintptr_t) x; is safe? svn:r8948
2006-10-09 r8971@totoro: nickm | 2006-10-09 10:16:23 -0400Nick Mathewson
Move definition of ssize_t to torint.h svn:r8670
2006-10-02 r8844@totoro: nickm | 2006-10-02 16:32:44 -0400Nick Mathewson
Resolve an XXXX: make sure that we are actually on 2s-complement hardware. svn:r8576
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-03-29Avoid warnings about machine/limits.h on Debian GNU/kFreeBSDPeter Palfrader
svn:r6271
2006-02-09Happy new year!Roger Dingledine
svn:r5949
2005-07-25Fix logic to set TIME_T_MAX; apparently, everybody had thought of the ↵Nick Mathewson
prospect of a signed time_t but me. svn:r4675
2005-06-09Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson
svn:r4382
2005-06-09New whitespace normalization rule: no blank line at EOF.Nick Mathewson
svn:r4378
2005-04-01update copyright notices.Nick Mathewson
svn:r3982
2005-03-03Finish implementing GETINFO; make it easy to query address maps.Nick Mathewson
svn:r3732
2005-02-22Initial IRIX compatibility fixes: check for inttypes.h; check for platform ↵Nick Mathewson
cell_t. svn:r3648
2004-12-05int is not necessarily the same size as size_tRoger Dingledine
svn:r3079
2004-12-02Be more proactive about noticing underflows: size_t values greater than ↵Nick Mathewson
0x800...00 are likely to be trouble. svn:r3064
2004-11-29Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson
every file. svn:r3019
2004-11-26remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine
svn:r2989
2004-11-09Normalize whitespace; add a "tell me about all the unnormalized whitespace" ↵Nick Mathewson
target; fix a braino in dirserv.c svn:r2758
2004-11-05Unify tor_parse_(numeric); make sure MAX_UINT32 and MAX_UINT64 are definedNick Mathewson
svn:r2688
2004-08-25Define LONG_MAX and UINT_MAX when they are missingNick Mathewson
svn:r2317
2004-05-10doxygen markup for common/*.hRoger Dingledine
svn:r1840
2004-05-05Add intptr_t and uintptr_t to torint.hNick Mathewson
svn:r1794
2004-05-01Handle windows socket errors correctly; comment most of common.Nick Mathewson
svn:r1756
2004-04-06Document stuff, reduce magic numbers, add emacs magicNick Mathewson
svn:r1502
2003-12-17clean tabs, trailing whitespaceRoger Dingledine
svn:r952