Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-03 | Merge remote-tracking branch 'github/ticket26626' | 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 | 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-01 | Remove system headers from or.h | 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-06-29 | Remove windows libraries from util.h and compat.h | Nick Mathewson | |
2018-06-29 | Remove read_all and write_all | Nick Mathewson | |
These had become wrappers around their fd and socket variants; there were only a few users of the original functions still remaining. | |||
2018-06-29 | Move fd and memory-info functions. | Nick Mathewson | |
2018-06-28 | Fix paths for buffers.h; automated. | Nick Mathewson | |
2018-06-28 | Remove all include common/ uses in crypto_ops and tls. | 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 tor_escape_str_for_pt_args into or/transports.c | 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 | 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 | Fix up the modules that include memarea.h (automated) | Nick Mathewson | |
2018-06-27 | Move network code to libtor-net. | Nick Mathewson | |
There are some additional changes to come: those points are marked by XXXX. | |||
2018-06-26 | Move tor_parse_long and friends into parse_int.h in libtor-string | Nick Mathewson | |
2018-06-22 | Finally extract the log library and make it build. | Nick Mathewson | |
This patch: - introduces an fdio module for low-level fd functions that don't need to log. - moves the responsibility for opening files outside of torlog.c, so it won't need to call tor_open_cloexec. | |||
2018-06-21 | Extract tor_malloc and friends to a new module. | Nick Mathewson | |
2018-06-21 | Rectify include paths (automated) | Nick Mathewson | |
2018-06-21 | Rectify include paths (automated) | Nick Mathewson | |
2018-06-20 | Run rectify_include_paths.py | Nick Mathewson | |
2018-06-20 | Update copyrights to 2018. | Nick Mathewson | |
2018-05-03 | Merge remote-tracking branch 'isis/bug24660_r1' | Nick Mathewson | |
2018-04-26 | Add a function to compute millisecond time difference quickly. | Nick Mathewson | |
Our main function, though accurate on all platforms, can be very slow on 32-bit hosts. This one is faster on all 32-bit hosts, and accurate everywhere except apple, where it will typically be off by 1%. But since 32-bit apple is a relic anyway, I think we should be fine. | |||
2018-04-16 | Helper function to add u32 without overflow. | Mike Perry | |
2018-04-13 | 32-bit compilation warnings | Nick Mathewson | |
2018-04-13 | Expose a function that computes stamp units from msec. | Nick Mathewson | |
(It turns out we can't just expose STAMP_TICKS_PER_SECOND, since Apple doesn't have that.) | |||
2018-04-06 | crypto: Refactor (P)RNG functionality into new crypto_rand module. | Isis Lovecruft | |
* ADD new /src/common/crypto_rand.[ch] module. * ADD new /src/common/crypto_util.[ch] module (contains the memwipe() function, since all crypto_* modules need this). * FIXES part of #24658: https://bugs.torproject.org/24658 | |||
2018-03-28 | Merge branch 'maint-0.3.3' | Nick Mathewson | |
2018-03-28 | Rename string_is_valid_hostname -> string_is_valid_nonrfc_hostname | Nick Mathewson | |
Per discussion on 25055. | |||
2018-03-28 | Don't explode on NULL or empty string | rl1987 | |
2018-03-28 | Allow alphanumeric TLDs in test for now | rl1987 | |
2018-03-28 | Validate hostnames with punycode TLDs correctly | rl1987 | |
2018-03-28 | Test TLD validation | rl1987 | |
2018-03-28 | Do not consider IP strings valid DNS names. Fixes #25055 | rl1987 | |
2018-02-15 | Merge branch '25162_zstd_static' | Nick Mathewson | |
2018-02-07 | Merge remote-tracking branch 'dgoulet/bug25113_029_01' | Nick Mathewson | |
2018-02-07 | test: Bump to 10 msec gap in the monotonic test | David Goulet | |
On slow system, 1 msec between one read and the other was too tight. For instance, it failed on armel with a 4msec gap: https://buildd.debian.org/status/package.php?p=tor&suite=experimental Increase to 10 msec for now to address slow system. It is important that we keep this OP_LE test in so we make sure the msec/usec/nsec read aren't desynchronized by huge gaps. We'll adjust again if we ever encounter a system that goes slower than 10 msec between calls. Fixes #25113 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-02-07 | Fix spelling mistakes corresponding to ticket #23650 | Deepesh Pathak | |
2018-02-06 | Make zstd unit tests try running with static-only fns disabled | Nick Mathewson | |
Since we're making it so that unstable zstd apis can be disabled, we need to test them. I do this by adding a variant setup/cleanup function for the tests, and teaching it about a fake compression method called "x-zstd:nostatic". | |||
2017-12-20 | whitespace fix | Nick Mathewson | |
2017-12-20 | Improve add_msec test to cover ms->sec rollover | Nick Mathewson | |
Per mikeperry's suggestion, I'm making sure that the millisecond part of the time will always roll over in this test. |