Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | 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 | 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 | |
2018-06-29 | Move tor_get_avail_disk_space() to lib/fs | Nick Mathewson | |
2018-06-28 | Merge remote-tracking branch 'catalyst-github/fix-macos-includes' | Nick Mathewson | |
2018-06-28 | Fix macOS includes | Taylor Yu | |
Recent code movement from refactoring missed some includes that seem to be necessary on macOS. | |||
2018-06-28 | Fix a bogus n in a comment | Nick Mathewson | |
2018-06-28 | A couple of includes to make windows compile again | Nick Mathewson | |
2018-06-28 | Move buffers into container | Nick Mathewson | |
Split the network-only and compression-only parts of buffers into the appropriate modules. | |||
2018-06-28 | Add sys/capability.h and sys/prctl.h includes in setuid.c | Nick Mathewson | |
2018-06-28 | compat_threads.c needs string.h for memset. | Nick Mathewson | |
2018-06-28 | Remove all include common/ uses in crypto_ops and tls. | Nick Mathewson | |
2018-06-28 | Fix windows compilation in compat_time | Nick Mathewson | |
We need to use lib/fs/winlib.h here so that we can use GetTickCount64. I would love to declare that XP is dead, and everybody has GetTickCount64. | |||
2018-06-28 | Use tor_ntohs in compress.c; avoid a winsocks dependency | Nick Mathewson | |
2018-06-28 | fixup! Extract time functionality into lib/wallclock and lib/time | Nick Mathewson | |
2018-06-28 | Move DLL support to lib/fs | Nick Mathewson | |
2018-06-28 | Add ntohs and htons to lib/arch/bytes.h | Nick Mathewson | |
2018-06-28 | Update lib/compress to not require common/*.h | Nick Mathewson | |
2018-06-28 | Move MIN and MAX into lib/intmath/cmp.h | Nick Mathewson | |
2018-06-28 | Extract time functionality into lib/wallclock and lib/time | Nick Mathewson | |
2018-06-28 | Move floating-point math functions into a new lib/math | Nick Mathewson | |
2018-06-28 | Move compute_num_cpus to lib/thread | Nick Mathewson | |
2018-06-28 | Move network_init to lib/net | Nick Mathewson | |
2018-06-28 | Move tor_gethostname to lib/net | Nick Mathewson | |
2018-06-28 | Move string_is_key_value to lib/encoding | Nick Mathewson | |
2018-06-28 | Move weakrng into lib/intmath | Nick Mathewson | |
2018-06-28 | Move lockfile code into lib/fs | Nick Mathewson | |
2018-06-28 | Move socket-errno code into lib/net | Nick Mathewson | |
2018-06-28 | Extract process-management functionality into a new lib/process | Nick Mathewson | |
Note that procmon does *not* go here, since procmon needs to integrate with the event loop. | |||
2018-06-28 | Move conffile and storagedir to lib/fs | Nick Mathewson | |
2018-06-28 | Extract memarea into its own library | Nick Mathewson | |
2018-06-28 | Extract threading code into a new library. | Nick Mathewson | |
Note that the workqueue code does *not* go here: it is logically at a higher level, since it needs to use libevent and the networking stack. |