Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-10 | Rename torlog.[ch] to log.[ch] | Nick Mathewson | |
Fun fact: these files used to be called log.[ch] until we ran into conflicts with systems having a log.h file. But now that we always include "lib/log/log.h", we should be fine. | |||
2018-07-10 | Rename util_malloc to malloc. | Nick Mathewson | |
2018-07-10 | Merge remote-tracking branch 'neel/fbsd-cfix' | Nick Mathewson | |
2018-07-10 | Remove addr_port_lookup. | Nick Mathewson | |
This lets us cut the dependency from address.c to resolve.c: the address.c module now has no paths to the libc resolver in it. | |||
2018-07-10 | Remove all users of addr_port_lookup outside of address.c | Nick Mathewson | |
This function has a nasty API, since whether or not it invokes the resolver depends on whether one of its arguments is NULL. That's a good way for accidents to happen. This patch incidentally makes tor-resolve support socks hosts on IPv6. | |||
2018-07-10 | Move tor_addr_{,port_}lookup to resolve.c | Nick Mathewson | |
2018-07-10 | Refactor ipv[46].[ch] | Nick Mathewson | |
These are now combined into an inaddr.[ch], since their purpose is to implement functions for struct in_addr and struct in6_addr. The definitions for in6_addr and its allies are now in a separate header, inaddr_st.h. Closes ticket 26532. | |||
2018-07-10 | Fix build on FreeBSD post-refactor | Neel Chauhan | |
2018-07-10 | File-level summary documentation for src/lib/*/*.[ch] | Nick Mathewson | |
2018-07-09 | Fix some lingering windows compilation issues from Jenkins. | Nick Mathewson | |
These were caused by the recent refactoring. | |||
2018-07-09 | strcasecmp should not take a size_t argument | Nick Mathewson | |
2018-07-09 | Merge remote-tracking branch 'rl1987/bug26525' | Nick Mathewson | |
2018-07-09 | Make Tor compile with --disable-memory-sentinels again | Nick Mathewson | |
2018-07-05 | Fix up .may_includes for evloop. | Nick Mathewson | |
2018-07-05 | Clean up include paths for libtor-evloop (automated) | Nick Mathewson | |
2018-07-05 | All remaining files in src/common belong to the event loop. | Nick Mathewson | |
2018-07-05 | Move openbsd-malloc responsibility to lib/malloc | Nick Mathewson | |
(Note that this is not believed to work, but we may as well have it in the right place till we remove it) | |||
2018-07-05 | Move socks5_status.h to src/lib/net | Nick Mathewson | |
There might be a better place for it in the long run, but this is the best I can think of for now. | |||
2018-07-05 | Move handles.h to src/lib/container | Nick Mathewson | |
There might be a better place for it in the long run, but this is the best we can think of for now. | |||
2018-07-05 | Include compat_string.h in smartlist.c | Nick Mathewson | |
We need this for strcasecmp on (some) Windows build environments. Fix from Gisle Vanem. | |||
2018-07-05 | Try to use stricmp variants that MSDN actually recommends | Nick Mathewson | |
Per recommendation by Gisle Vanem | |||
2018-07-03 | Merge remote-tracking branch 'github/ticket26626' | Nick Mathewson | |
2018-07-03 | Merge branch 'bug26522' | Nick Mathewson | |
2018-07-03 | Refrain from potentially insecure usage of strncat() | rl1987 | |
2018-07-03 | Merge remote-tracking branch 'github/shrink_or_h_more' | Nick Mathewson | |
2018-07-03 | Fix up some windows compilation issues. | Nick Mathewson | |
These were mostly cases where our previous macros had been casting, and the values that we were trying to printf were not in fact uint64_t. | |||
2018-07-03 | Retire U64_TO_DBL and DBL_TO_U64 | Nick Mathewson | |
These were necessary long ago to work around a bug in VC6. | |||
2018-07-03 | Return U64_PRINTF_ARG and U64_FORMAT | Nick Mathewson | |
The standard is printf("%"PRIu64, x); | |||
2018-07-03 | Replace U64_LITERAL with the standard UINT64_C | Nick Mathewson | |
2018-07-03 | Retire some unused (or nearly unused) macros. | Nick Mathewson | |
2018-07-03 | Use the standard SHRT_MAX name. | Nick Mathewson | |
2018-07-03 | Require stdint.h and inttypes.h | Nick Mathewson | |
We've been silently requiring stdint.h for a while now, and nobody has complained. Closes ticket 26626. | |||
2018-07-03 | Rename sandbox_getaddrinfo() et. al. | rl1987 | |
2018-07-03 | Remove ATTR_NONNULL macro | rl1987 | |
2018-07-02 | Don't redefine str(n)casecmp on windows unless they're missing | Nick Mathewson | |
When we do redefine them, use inline functions instead of #define. This fixes a latent code problem in our redefinition of these functions, which was exposed by our refactoring: Previously, we would #define strcasecmp after string.h was included, so nothing bad would happen. But when we refactored, we would sometimes #define it first, which was a problem on mingw, whose headers contain (approximately): inline int strcasecmp (const char *a, const char *b) { return _stricmp(a,b); } Our define turned this into: inline int _stricmp(const char *a, const char *b) { return _stricmp(a,b); } And GCC would correctly infer that this function would loop forever, rather than actually comparing anything. This caused bug 26594. Fixes bug 26594; bug not in any released version of Tor. | |||
2018-07-01 | File-level documentation for some of src/lib. | Nick Mathewson | |
2018-07-01 | Prune the .may_include files a bit; detect unused lines in them | Nick Mathewson | |
2018-07-01 | Minimize headers that include crypto_formats and x25519 stuff | Nick Mathewson | |
2018-07-01 | Remove needless includes from or.h | Nick Mathewson | |
or.h should really include only the minimum of stuff from or/*, common/*, and lib/*. | |||
2018-07-01 | Combine DH_BYTES and DH_KEY_LEN; put them in a lib/defs header. | Nick Mathewson | |
2018-07-01 | Tabify all of the .am files. | Nick Mathewson | |
2018-06-29 | add an include to fix macos, and probably bsd too | Nick Mathewson | |
2018-06-29 | Remove non-windows system includes from compat.h and util.h | Nick Mathewson | |
2018-06-29 | Move SIO_IDEAL_SEND_BACKLOG_QUERY into socket.h | Nick Mathewson | |
2018-06-29 | Remove an errant (and unused) include permission in lib/tls | Nick Mathewson | |
2018-06-29 | Extract getpass to a new lib/term library | Nick Mathewson | |
(Term is short for terminal) | |||
2018-06-29 | Extract get_uname to lib/osinfo. | Nick Mathewson | |
2018-06-29 | Move SUBTYPE_P into compat_compiler.h | Nick Mathewson | |
2018-06-29 | Move bool_eq and bool_neq to lib/intmath | Nick Mathewson | |
2018-06-29 | Move fd and memory-info functions. | Nick Mathewson | |