summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2004-11-29Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson
every file. svn:r3019
2004-11-29Remove needless -2 in log code. This was not an underflow risk, sinze we ↵Nick Mathewson
only call format_msg from one place, where buf_len==10024 svn:r3017
2004-11-29clean up the previous underflow check, and also point outRoger Dingledine
yet another one that may be a problem. nick? svn:r3016
2004-11-29Disallow NDEBUG. It is very stupid.Nick Mathewson
svn:r3012
2004-11-29fix integer underflow in tor_vsnprintf()Roger Dingledine
(probably exploitable) svn:r3011
2004-11-29prevent integer underflowRoger Dingledine
(not currently exploitable, ilja and i think) svn:r3010
2004-11-28wrong is ok, and right is fine, but in between is apparentlyRoger Dingledine
totally unacceptable to me. svn:r3005
2004-11-28correct multiple internal spacesNick Mathewson
svn:r3004
2004-11-28Normalize space: add one between every control keyword and control clause.Nick Mathewson
svn:r3003
2004-11-28connect() on win32 can do more things than we thought?Nick Mathewson
svn:r2999
2004-11-28Very oops. make windows nonblocking sockets nonblockingNick Mathewson
svn:r2998
2004-11-28remember; tor_socket_errno has side effects!Nick Mathewson
svn:r2997
2004-11-26remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine
svn:r2989
2004-11-24Flush the logfd after we print "Tor opening log file", so we don't see those ↵Peter Palfrader
messages days later svn:r2980
2004-11-23Clean up some logging and interfacesNick Mathewson
svn:r2945
2004-11-22Normalize a few more kinds of whitespace. We now dislike:Nick Mathewson
- func (args) - if (x){ This doesn't normalize if(x), for(x); while(x), and friends. svn:r2943
2004-11-22Add function to format local time in ISO formatNick Mathewson
svn:r2935
2004-11-20and a comment so i don't try to 'fix' it again laterRoger Dingledine
svn:r2919
2004-11-20yes, in fact, i broke it. putting back.Roger Dingledine
svn:r2918
2004-11-20kill -USR2 now moves all logs to loglevel debugRoger Dingledine
plus fix some typos svn:r2914
2004-11-20simplify close_temp_logs()Roger Dingledine
(nick, did i break this?) svn:r2913
2004-11-20remove another possible sigpipe causeRoger Dingledine
svn:r2912
2004-11-20Add "MEMUNIT" and "INTERVAL" types to configuration. Also tweak Accounting ↵Nick Mathewson
setup. More docs needed svn:r2911
2004-11-16Fix a fun bug in read_all that was corrupting config files on windows, and ↵Nick Mathewson
probably doing other bad stuff too. svn:r2898
2004-11-15Make log_fn not fail so miserably on VC6Nick Mathewson
svn:r2896
2004-11-15Whitespace normalizationNick Mathewson
svn:r2895
2004-11-15ugly macros to make log_fn play nice on non-GCC compilers.Nick Mathewson
svn:r2894
2004-11-14Split X509 certificate liveness checks into a separate functionNick Mathewson
svn:r2873
2004-11-14Fix "implicit declaration of ftello" warning: add AC_FUNC_FSEEKO in ↵Nick Mathewson
configure.in and always include orconfig.h before anything else svn:r2854
2004-11-14remove redundant stdio.hRoger Dingledine
i guess that wasn't the fix svn:r2849
2004-11-14clean up the ftello call a little bit.Roger Dingledine
but i'm still getting: log.c:94: warning: implicit declaration of function `ftello' svn:r2848
2004-11-12Fix argument to strncpy.Nick Mathewson
svn:r2824
2004-11-12Nobody was using the return values from smartlist_(set|del|del_keeporder), ↵Nick Mathewson
so remove them. svn:r2823
2004-11-12Add a FAST_SMARTLIST define to optionally inline smartlist_get and ↵Nick Mathewson
smartlist_len, which are two major profiling offenders. svn:r2822
2004-11-12Speed up tor_strndup a lot: profiling suggests that our use of strlcpy here ↵Nick Mathewson
was a bad idea. svn:r2821
2004-11-12Resolve a bunch of FIXME items; mark a lot more for attention; ask for ↵Nick Mathewson
clarification on some. Turn all XXXX008 ("showstopper for 0.0.8 release") items into XXXX009 or XXXX, since plainly they were not showstoppers for 0.0.8. Add/clean some docs. svn:r2808
2004-11-12Use autoconf to enable largefile support where necessary. Use ftello where ↵Nick Mathewson
available, since ftell can fail at 2GB. svn:r2806
2004-11-10Resolve FIXME items: make expand_filename handle ~ and ~usernameNick Mathewson
svn:r2789
2004-11-10when you cast MAX_UINT to an int it confuses the usersRoger Dingledine
svn:r2788
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-09Clean windows a littleNick Mathewson
svn:r2757
2004-11-09Fix windows build for VC6; centralize newline-fiasco-damage-control logicNick Mathewson
svn:r2756
2004-11-09Resolve many XXXs and all DOCDOCsNick Mathewson
svn:r2755
2004-11-09Make check_private_dir trimodal (check/create/ignore), not bimodal ↵Nick Mathewson
(create/ignore). svn:r2733
2004-11-09various fixesRoger Dingledine
svn:r2712
2004-11-06parse_line_from_file is obsolete.Roger Dingledine
svn:r2693
2004-11-05Unify tor_parse_(numeric); make sure MAX_UINT32 and MAX_UINT64 are definedNick Mathewson
svn:r2688
2004-11-05Use new log format; convert old format to new format.Nick Mathewson
svn:r2684
2004-11-04Twiddle header order to compile on OS X againNick Mathewson
svn:r2681
2004-11-04Add code to read configuration lines from a string as well as a fileNick Mathewson
svn:r2676