Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-05 | Move literally everything out of src/or | Nick Mathewson | |
This commit won't build yet -- it just puts everything in a slightly more logical place. The reasoning here is that "src/core" will hold the stuff that every (or nearly every) tor instance will need in order to do onion routing. Other features (including some necessary ones) will live in "src/feature". The "src/app" directory will hold the stuff needed to have Tor be an application you can actually run. This commit DOES NOT refactor the former contents of src/or into a logical set of acyclic libraries, or change any code at all. That will have to come in the future. We will continue to move things around and split them in the future, but I hope this lays a reasonable groundwork for doing so. | |||
2018-07-05 | Start splitting src/or | Nick Mathewson | |
This is a very gentle commit that just lays the groundwork in the build system: it puts the include files to build libtor-app.a into src/core, and to build the tor executable into src/app. The executable is now "src/app/tor". | |||
2018-07-05 | Clean up include paths for libtor-evloop (automated) | Nick Mathewson | |
2018-07-03 | Merge remote-tracking branch 'github/ticket26626' | Nick Mathewson | |
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-01 | Remove system headers from or.h | Nick Mathewson | |
2018-07-01 | Extract or_state_t to its own header. | Nick Mathewson | |
Fewer modules needed this than I had expected. | |||
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-06-29 | Extract get_uname to lib/osinfo. | Nick Mathewson | |
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 | Move buffers into container | Nick Mathewson | |
Split the network-only and compression-only parts of buffers into the appropriate modules. | |||
2018-06-28 | Move lockfile code into lib/fs | 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 | Fix up include paths for sandbox.h (automated) | Nick Mathewson | |
2018-06-21 | Rectify include paths (automated) | Nick Mathewson | |
2018-06-21 | Rectify include paths (automated) | Nick Mathewson | |
2018-06-21 | Rectify include paths (automated) | Nick Mathewson | |
2018-06-20 | Remove log dependency from backtrace.[ch] | Nick Mathewson | |
2018-06-20 | Remove dmalloc support; closes #26426 | Nick Mathewson | |
Dmalloc hasn't seen a release in over a decade, and there are much better tools to use these days. | |||
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 routerinfo_t into its own header. | Nick Mathewson | |
I was expecting this to be much worse. | |||
2018-06-15 | Extract networkstatus_t and ..sr_info_t into their own headers | Nick Mathewson | |
2018-06-15 | Split socks_request_t into its own header. | Nick Mathewson | |
2018-06-15 | Move or_connection_t to its own header. | Nick Mathewson | |
2018-06-15 | Split entry and edge_connection_t into their own headers. | Nick Mathewson | |
2018-06-14 | Make server_port_cfg_t and port_cfg_t into separate headers. | Nick Mathewson | |
2018-05-10 | Merge remote-tracking branch 'public/bug25981' | Nick Mathewson | |
2018-05-10 | Merge branch 'ticket26063_squashed' | Nick Mathewson | |
2018-05-10 | Merge branch 'ticket26064' | Nick Mathewson | |
2018-05-10 | Add a new function to enable/disable the per-second timer as needed | Nick Mathewson | |
We're about to use this to turn off the per-second timer when the network is disabled and there aren't any per-second controller events enabled. | |||
2018-05-10 | Merge remote-tracking branch 'dgoulet/ticket26062_034_01' | Nick Mathewson | |
2018-05-09 | Merge branch 'ticket26016' | Nick Mathewson | |
2018-05-09 | Merge branch 'ticket26009' | Nick Mathewson | |
2018-05-09 | spelling fix | Nick Mathewson | |
2018-05-09 | Fix some clang warnings | Nick Mathewson | |
2018-05-09 | Mark the 1-per-sec update_current_time() call as redundant. | Nick Mathewson | |
We still do this time update here, since we do it from all callbacks, but it is no longer a reason to keep the once-per-second callback enabled. Closes ticket 26009. | |||
2018-05-09 | Distinguish true clock jumps from idleness | Nick Mathewson | |
Since we're going to be disabling the second-elapsed callback, we're going to sometimes have long periods when no events file, and so the current second is not updated. Handle that by having a better means to detect "clock jumps" as opposed to "being idle for a while". Tolerate far more of the latter. Part of #26009. | |||
2018-05-09 | Give responsibility for waking up from DORMANT to a mainloop event | Nick Mathewson | |
Closes ticket 26064. | |||
2018-05-09 | config: Move any_client_port_set() to config.c | David Goulet | |
This functions is now used outside of networkstatus.c and makes more sense to be in config.c. It is also renamed to options_any_client_port_set() for the config.c namespace. No code behavior change. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-05-09 | Comment-only fix: annotate we_are_hibernating() usage | Nick Mathewson | |
Everywhere we use we_are_hibernating(), remind the reader what it means. (Also, add an XXXX to note a DisableNetwork usage to change later.) | |||
2018-05-09 | Give control.c responsibility for its own once-a-second events | Nick Mathewson | |
Now it has a function that can tell the rest of Tor whether any once-a-second controller item should fire, and a function to fire all the once-a-second events. | |||
2018-05-07 | Don't crash when closing a connection before initializing libevent | Nick Mathewson | |
Fixes bug 25981; bugfix on 96c5ac338a7df. Bug not in any released version of Tor. | |||
2018-05-03 | Merge remote-tracking branch 'isis/bug24660_r1' | Nick Mathewson | |
2018-05-03 | Merge remote-tracking branch 'dgoulet/ticket25990_034_01' | Nick Mathewson | |