Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-29 | Use 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-12-29 | Use RSA_generate_key_ex where available. | Nick Mathewson | |
svn:r17804 | |||
2008-12-29 | Fix bug in recent address.c patch: actually set the value of address * to ↵ | Nick Mathewson | |
0.0.0.0 as we did before. This makes CMP_EXACT comparisons with bitmask 0 work on address * again. svn:r17801 | |||
2008-12-27 | Fix compilation under gethostbyname-based systems. | Nick Mathewson | |
svn:r17800 | |||
2008-12-26 | Refactor tor_addr_t manipulation functions so that as few as possible look ↵ | Nick Mathewson | |
at the tor_addr_t representation. svn:r17790 | |||
2008-12-26 | get_interface_addr6(), and by extension get_interface_addr(), were pretty ↵ | Nick Mathewson | |
borked. Copying a tor_addr_t from a sockaddr_storage using memcpy is a poor notion. svn:r17789 | |||
2008-12-26 | Refactor tor_addr_compare_masked() so that CMP_SEMANTIC makes more sense, ↵ | Nick Mathewson | |
and has decent semantics for maskbits; and so that CMP_EXACT works right for bits==0. svn:r17788 | |||
2008-12-26 | Document our Bloom filter parameter choices. | Nick Mathewson | |
svn:r17785 | |||
2008-12-26 | Add more missing documentation, and correct an error in container.c ↵ | Nick Mathewson | |
documentation: Don't introduce two parameters called n when you're calling an algorithm O(n). svn:r17783 | |||
2008-12-25 | some fixes i found in my sandbox | Roger Dingledine | |
svn:r17771 | |||
2008-12-23 | Document most undocumented variables. | Nick Mathewson | |
svn:r17754 | |||
2008-12-23 | Properly zero-out addresses when setting them. Probably this was not ↵ | Nick Mathewson | |
hurting anything. svn:r17749 | |||
2008-12-22 | Make freelist_len in memarea.c static; document a few variables. | Nick Mathewson | |
svn:r17741 | |||
2008-12-22 | Add DOCDOC entries for undocumented static and global variables. | Nick Mathewson | |
svn:r17739 | |||
2008-12-22 | Fix most DOCDOCs remaining and/or added by redox. | Nick Mathewson | |
svn:r17734 | |||
2008-12-22 | Add DOCDOC comments for all undocumented functions. Add missing *s to other ↵ | Nick Mathewson | |
comments so that they will get recognized as doxygen. svn:r17729 | |||
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 |