Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-03-12 | Update copyrights to 2021, using "make update-copyright" | Nick Mathewson | |
2020-01-08 | It's 2020. Update the copyright dates with "make update-copyright" | Nick Mathewson | |
2019-01-16 | Bump copyright date to 2019 | Nick Mathewson | |
2018-11-14 | Move buffers.c out of lib/containers to resolve a circularity. | Nick Mathewson | |
2018-07-05 | Fix every include path changed in the previous commit (automated) | Nick Mathewson | |
I am very glad to have written this script. | |||
2018-07-05 | Clean up include paths for libtor-evloop (automated) | Nick Mathewson | |
2018-06-28 | Fix paths for buffers.h; 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-06-15 | Extract cell type and their queues into new headers | Nick Mathewson | |
Since packed_cell and destroy_cell exist only to be queued, they go in the same headers as the queues. | |||
2018-06-15 | Extract {or,origin}_circuit_t into their own headers | Nick Mathewson | |
2018-06-15 | Split entry and edge_connection_t into their own headers. | Nick Mathewson | |
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 | |||
2017-12-08 | Merge branch 'macro_free_v2_squashed' | Nick Mathewson | |
2017-12-08 | Rename connection_free_ to connection_free_minimal. | Nick Mathewson | |
2017-11-27 | Fix unit tests that depended on monotonic msec. | Nick Mathewson | |
2017-11-27 | Add a new notion of "stamps" to be a fast 32-bit monotonic timestamp | Nick Mathewson | |
The goal here is to replace our use of msec-based timestamps with something less precise, but easier to calculate. We're doing this because calculating lots of msec-based timestamps requires lots of 64/32 division operations, which can be inefficient on 32-bit platforms. We make sure that these stamps can be calculated using only the coarse monotonic timer and 32-bit bitwise operations. | |||
2017-09-05 | Refactor buffer APIs to put a buf_t first. | Nick Mathewson | |
By convention, a function that frobs a foo_t should be called foo_frob, and it should have a foo_t * as its first argument. But for many of the buf_t functions, the buf_t was the final argument, which is silly. | |||
2017-09-05 | Repair buffer API so everything starts with buf_. | Nick Mathewson | |
Our convention is that functions which manipulate a type T should be named T_foo. But the buffer functions were super old, and followed all kinds of conventions. Now they're uniform. Here's the perl I used to do this: \#!/usr/bin/perl -w -i -p s/read_to_buf\(/buf_read_from_socket\(/; s/flush_buf\(/buf_flush_to_socket\(/; s/read_to_buf_tls\(/buf_read_from_tls\(/; s/flush_buf_tls\(/buf_flush_to_tls\(/; s/write_to_buf\(/buf_add\(/; s/write_to_buf_compress\(/buf_add_compress\(/; s/move_buf_to_buf\(/buf_move_to_buf\(/; s/peek_from_buf\(/buf_peek\(/; s/fetch_from_buf\(/buf_get_bytes\(/; s/fetch_from_buf_line\(/buf_get_line\(/; s/fetch_from_buf_line\(/buf_get_line\(/; s/buf_remove_from_front\(/buf_drain\(/; s/peek_buf_startswith\(/buf_peek_startswith\(/; s/assert_buf_ok\(/buf_assert_ok\(/; | |||
2017-03-15 | Run the copyright update script. | Nick Mathewson | |
2016-11-24 | moving useful test helper to test_helpers.h | Chelsea H. Komlo | |
2016-08-12 | Merge remote-tracking branch 'public/Fix_19450' | Nick Mathewson | |
2016-08-02 | Remove generic_buffer_*() functions as needless. | Nick Mathewson | |
These functions were there so that we could abstract the differences between evbuffer and buf_t. But with the bufferevent removal, this no longer serves a purpose. | |||
2016-08-02 | Remove USE_BUFFEREVENTS code outside src/or | Nick Mathewson | |
2016-07-21 | Make monotime test mocking work with oom tests. | Nick Mathewson | |
2016-02-27 | Update the copyright year. | Nick Mathewson | |
2015-02-23 | Remove lingering mempool code | cypherpunks | |
2015-01-02 | Bump copyright dates to 2015, in case someday this matters. | Nick Mathewson | |
2014-11-12 | Replace operators used as macro arguments with OP_XX macros | Nick Mathewson | |
Part of fix for 13172 | |||
2014-07-21 | Fix warning on building with bufferevents | Sathyanarayanan Gunasekaran | |
Fixes #11578 | |||
2014-05-22 | Merge remote-tracking branch 'andrea/bug11476' | Nick Mathewson | |
2014-05-12 | Add --disable-mempools configure option | Andrea Shepard | |
2014-04-26 | Fix leaks in test_oom.c | Nick Mathewson | |
2014-04-19 | scan-build: Fix harmless sizeof(ptr) in test_oom.c | Nick Mathewson | |
We meant to using random bytes to fill a buffer, up to 3000 at a time. Instead we were taking them sizeof(void*) at a time. | |||
2014-02-12 | More unit tests for OOM handling. | Nick Mathewson | |
This gets us up to no interesting untested new or changed lines for the 10169 code. | |||
2014-02-12 | Initial unit tests for OOM handling | Nick Mathewson | |