Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Remove util.h | Nick Mathewson | |
Inline its contents (which were all includes) into or.h, and some of its contents into other places that didn't include or.h at all. | |||
2018-07-05 | Move address_set to src/or | Nick Mathewson | |
This is temporary, until src/or is split. Putting this in containers would be another logical alternative, except that addresses depend on containers, and we don't like cycles. | |||
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 branch 'maint-0.3.4' | Nick Mathewson | |
2018-07-03 | Merge remote-tracking branch 'github/bug26568_034' into maint-0.3.4 | Nick Mathewson | |
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 | Clean up various things that broke with our stdint.h changes | Nick Mathewson | |
Casting before printf was necessary; now it's not so smart. We don't have SIZEOF_UINT8_T any more. | |||
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 | Merge remote-tracking branch 'rl1987/ticket26527' | Nick Mathewson | |
2018-07-03 | Merge branch 'maint-0.3.3' into maint-0.3.4 | Nick Mathewson | |
2018-07-03 | Merge branch 'maint-0.3.4' | Nick Mathewson | |
2018-07-03 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-07-03 | Merge branch 'maint-0.2.9' into maint-0.3.2 | Nick Mathewson | |
2018-07-03 | Remove ATTR_NONNULL macro | rl1987 | |
2018-07-02 | Partially revert "Use tor_addr_from_getsockname() in several places" | Nick Mathewson | |
This reverts part of commit 6ed384b827dce21ea3a44b587, in order to fix bug 26568. Bugfix on 0.3.4.1-alpha. | |||
2018-07-02 | hs_ntor_ref.py: pass only strings to subprocess.Popen | Nick Mathewson | |
Recent Python3 versions seem to require this on Windows. Fixes bug 26535; bug copied from ntor_ref.py on 0.3.1.1-alpha. | |||
2018-07-02 | ntor_ref.py: pass only strings to subprocess.Popen | Nick Mathewson | |
Recent Python3 versions seem to require this on Windows. Fixes bug 26535; bug introduced in f4be34f70d6f277a0f3f73e, which was apparently intended itself as a Python3 workaround. | |||
2018-07-02 | Merge branch 'mikeperry_bug26214-rebased_squashed' into maint-0.3.4 | Nick Mathewson | |
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 | fixup! Extract or_options_t from or.h | Nick Mathewson | |
2018-07-01 | fixup! Remove system headers from or.h | Nick Mathewson | |
2018-07-01 | Remove system headers from or.h | Nick Mathewson | |
2018-07-01 | Extract or_options_t from or.h | Nick Mathewson | |
I decided to have this file included from config.h, though, since it is used nearly everywhere. | |||
2018-07-01 | Extract or_state_t to its own header. | Nick Mathewson | |
Fewer modules needed this than I had expected. | |||
2018-07-01 | Pull a couple more enums from or.h | Nick Mathewson | |
2018-07-01 | Move ext_or_cmd_t to proto_ext_or | Nick Mathewson | |
2018-07-01 | Extract more constants from or.h | Nick Mathewson | |
2018-07-01 | Extract addr_policy_t into a new header. | Nick Mathewson | |
2018-07-01 | Extract various enums and tiny structs from or.h | Nick Mathewson | |
These all have a logical header to go in. | |||
2018-07-01 | Minimize headers that include crypto_formats and x25519 stuff | Nick Mathewson | |
2018-07-01 | Remove other needless includes include from or/*.h | 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 | Merge branch 'maint-0.3.3' into maint-0.3.4 | Nick Mathewson | |