Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-22 | Fix all of the doxygen warnings not pertaining to missing documentation. | Nick Mathewson | |
svn:r17727 | |||
2008-12-19 | Move in-addr.arpa parsing and generation into address.c, and simplify the ↵ | Nick Mathewson | |
code that does it elsewhere. Incidentally, this lets exit servers answer requests for ip6.arpa addresses. svn:r17707 | |||
2008-12-19 | Expose hex_decode_digit from util.c | Nick Mathewson | |
svn:r17706 | |||
2008-12-18 | Replace calls to time(NULL) that occur on the order of once per read, one ↵ | Nick Mathewson | |
per write, or once per cell with calls to a function that looks at a cached value of time. This is tricksy to benchmark, since it will only help on systems where time() is a syscall and syscalls are relatively slow. svn:r17690 | |||
2008-12-18 | One log.c XXX021 was a misunderstanding. Also, clip log messages passed to ↵ | Nick Mathewson | |
syslog to their maximum length when there is a maximum. svn:r17688 | |||
2008-12-18 | Downlgrade tweak, and answer lots of XXX021s. No actual code fixes in this ↵ | Nick Mathewson | |
patch. svn:r17686 | |||
2008-12-18 | Ben confirms that the MUST in rfc2631 is only for compatibility with X9.42, ↵ | Nick Mathewson | |
and isn't actually a security thing. svn:r17685 | |||
2008-12-18 | Log an error on win32 if directory listing fails. | Nick Mathewson | |
svn:r17684 | |||
2008-12-18 | Fix a small memory leak of around 32 bytes per TLS connection opened. Bugfix ↵ | Nick Mathewson | |
on 0.2.1.1-alpha. svn:r17678 | |||
2008-12-18 | Fix bug 889: share deep-copied keys between threads to avoid races in ↵ | Nick Mathewson | |
reference counts. Bugfix on 0.1.0.1-rc. svn:r17672 | |||
2008-12-17 | Resolve many DOCDOCs. | Nick Mathewson | |
svn:r17662 | |||
2008-12-17 | Use ctags and a python script to find identifiers that are never used ↵ | Nick Mathewson | |
anywhere, and remove the ones that we really want gone. svn:r17651 | |||
2008-12-11 | Lower sprintf buffer max to ~SSIZE_T_MAX from SIZE_T_CEILING, since we need ↵ | Nick Mathewson | |
to compare it to a signed int. svn:r17600 | |||
2008-12-11 | Remove some cargo-cult gcc hacks around tor_assert and predict_unlikely; ↵ | Nick Mathewson | |
instead, use the standard convert-to-boolean hack of "svn st" svn:r17597 | |||
2008-12-11 | Change test_memeq macro to not leak memory. Addresses coverity CID 47. | Nick Mathewson | |
svn:r17577 | |||
2008-12-09 | Better error message when told to setuid to ourself. | Nick Mathewson | |
svn:r17543 | |||
2008-12-08 | Compile without warnings on mingw.tor-0.2.1.8-alpha | Nick Mathewson | |
svn:r17522 | |||
2008-12-05 | Try to fix windows mmap code. | Nick Mathewson | |
svn:r17493 | |||
2008-12-05 | Simplify mmap object layout to avoid confusing static analysis tools, and us ↵ | Nick Mathewson | |
too. svn:r17490 | |||
2008-12-05 | Fix a hard-to-trigger memory leak in log_credential status. Found by ↵ | Nick Mathewson | |
Coverity scan. CID 349. svn:r17484 | |||
2008-12-02 | Do not use O_APPEND on fd-based operations that do not really want it; have ↵ | Nick Mathewson | |
them just lseek instead. svn:r17460 | |||
2008-12-02 | style cleanup | Roger Dingledine | |
svn:r17457 | |||
2008-12-02 | Change logging code to use fds instead of stdio. Fixes bug 861, and ↵ | Nick Mathewson | |
probably makes logging slightly faster. Not a backport candidate: bug 861 is too obscure and harmless. svn:r17456 | |||
2008-12-02 | Add two lseek wrappers to compat.[ch]: one to return current fd position, ↵ | Nick Mathewson | |
and one to move the fd to the end of the file. svn:r17454 | |||
2008-12-02 | Define socklen_t before using it in compat.h | Nick Mathewson | |
svn:r17444 | |||
2008-11-26 | Revert my older supposed gcc-4.4 warning workaround. GCC was not being ↵ | Nick Mathewson | |
needlessly prissy; it was hinting at the wrongly pure smartlist_bsearch_idx. svn:r17396 | |||
2008-11-26 | Stop marking bsearch_idx as pure; it is not. | Nick Mathewson | |
svn:r17393 | |||
2008-11-26 | Cast uid_t and gid_t to unsigned before passing to printf %u. | Nick Mathewson | |
svn:r17392 | |||
2008-11-26 | Use fcntl for file locking when flock() is not available. | Nick Mathewson | |
svn:r17391 | |||
2008-11-22 | Resolve a warning under gcc 4.4 trunk. | Nick Mathewson | |
svn:r17357 | |||
2008-11-17 | Update _log_global_min_severity after switch_logs_debug(), so that USR2 will ↵ | Nick Mathewson | |
work again. Bugfix on 0.1.2.8-beta. Spotted by Geoff Down. svn:r17317 | |||
2008-11-12 | define get_uint8 and set_uint8 macros to make code cleaner. | Nick Mathewson | |
svn:r17261 | |||
2008-11-11 | apply sebastian's fix for bug 859. Apparently on win32 one must lock at ↵ | Nick Mathewson | |
least one byte when locking, but locking a nonexistant byte is okay. ) svn:r17244 | |||
2008-11-10 | Document a couple of functions. | Nick Mathewson | |
svn:r17239 | |||
2008-11-10 | beg nick for some documentation on the locking functions | Roger Dingledine | |
svn:r17233 | |||
2008-11-10 | better error message when you set User but start tor as non-root. | Roger Dingledine | |
hopefully will address bug 857. svn:r17232 | |||
2008-11-09 | Log a little more when credential-switching fails. | Nick Mathewson | |
svn:r17228 | |||
2008-11-07 | while we're cleaning code, get rid of some unreachable code at | Roger Dingledine | |
the bottom of switch_id svn:r17205 | |||
2008-11-07 | now that we drop privs more thoroughly, switch_id() is no longer | Roger Dingledine | |
idempotent. so now we remember if we've succeeded, and if so we don't even try. svn:r17204 | |||
2008-11-07 | remove more redundant code from r17200 | Roger Dingledine | |
svn:r17203 | |||
2008-11-07 | Developers should usually configure with --enable-gcc-warnings, and should ↵ | Nick Mathewson | |
regularly make check-spaces. Also, int fn() does not mean the same in C as it does in C++ or Java. svn:r17201 | |||
2008-11-07 | Patch from Jacob Appelbaum and me to make User option more robust, properly ↵ | Steven Murdoch | |
set supplementary groups, deprecated the Group option, and log more information on credential switching svn:r17200 | |||
2008-11-05 | The chunk_size field in memarea_t was never actually set. Remove the whole ↵ | Nick Mathewson | |
thing. svn:r17195 | |||
2008-11-05 | make read_all and write_all return ssize_t. | Nick Mathewson | |
svn:r17194 | |||
2008-11-05 | Fix freebsd 7 compile by adding malloc_np.h header. Fix bug 850. | Nick Mathewson | |
svn:r17190 | |||
2008-11-03 | Add a new memcmpstart to use instead of strcmpstart when the thing we are ↵ | Nick Mathewson | |
comparing is not nul-terminated. svn:r17187 | |||
2008-10-29 | Fix a possible negative shift in address comparison. May fix bug 845 and ↵ | Nick Mathewson | |
bug 811 svn:r17169 | |||
2008-10-27 | Document some dmalloc stuff and some stupid C tricks. | Nick Mathewson | |
svn:r17161 | |||
2008-10-26 | This patch changes some of the code in util.c to refactor calls to | Jacob Appelbaum | |
dmalloc_malloc, dmalloc_realloc and dmalloc_strdup. It only calls those functions if we're using the magic USE_DMALLOC macro. If we're not doing that, we call the normal malloc, realloc and strdup. This is my first night at malloc disambiguation club, so I had to disambiguate. Also, first commit, I have my commit bit now. Huzzzah!!! svn:r17157 | |||
2008-10-01 | Now NodeFamily and MyFamily config options allow spaces in | Roger Dingledine | |
identity fingerprints, so it's easier to paste them in. Suggested by Lucky Green. svn:r17021 |