aboutsummaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2018-07-05Fix up .may_includes for evloop.Nick Mathewson
2018-07-05All remaining files in src/common belong to the event loop.Nick Mathewson
2018-07-05Move openbsd-malloc responsibility to lib/mallocNick 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-05Remove util.hNick 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-05Move address_set to src/orNick 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-05Move socks5_status.h to src/lib/netNick 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-05Move handles.h to src/lib/containerNick 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-03Fix 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-01Prune the .may_include files a bit; detect unused lines in themNick Mathewson
2018-06-29Add another winsock2 include, for timeval in procmon.Nick Mathewson
2018-06-29Add a missing include to timers, to make windows happierNick Mathewson
2018-06-29Eliminate compat.hNick Mathewson
2018-06-29Remove util.h and compat.h includes from src/commonNick Mathewson
2018-06-29Combine compat.h into util.hNick Mathewson
This is now just a collection of frequently-used headers.
2018-06-29Remove non-windows system includes from compat.h and util.hNick Mathewson
2018-06-29Remove windows libraries from util.h and compat.hNick Mathewson
2018-06-29Extract socks5_status_tNick Mathewson
I'm not sure of the best place to put this header long-term, since both or/*.c and tools/tor-resolve.c use it.
2018-06-29Move SIO_IDEAL_SEND_BACKLOG_QUERY into socket.hNick Mathewson
2018-06-29Remove compat.c and util.cNick Mathewson
2018-06-29Extract getpass to a new lib/term libraryNick Mathewson
(Term is short for terminal)
2018-06-29Extract get_uname to lib/osinfo.Nick Mathewson
2018-06-29Move SUBTYPE_P into compat_compiler.hNick Mathewson
2018-06-29Move bool_eq and bool_neq to lib/intmathNick Mathewson
2018-06-29Remove read_all and write_allNick 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-29Move fd and memory-info functions.Nick Mathewson
2018-06-29Move tor_get_avail_disk_space() to lib/fsNick Mathewson
2018-06-28Merge remote-tracking branch 'catalyst-github/fix-macos-includes'Nick Mathewson
2018-06-28Fix macOS includesTaylor Yu
Recent code movement from refactoring missed some includes that seem to be necessary on macOS.
2018-06-28Move buffers into containerNick Mathewson
Split the network-only and compression-only parts of buffers into the appropriate modules.
2018-06-28Move DLL support to lib/fsNick Mathewson
2018-06-28Move MIN and MAX into lib/intmath/cmp.hNick Mathewson
2018-06-28Remove a pair of windows flags used nowhere in our codeNick Mathewson
2018-06-28Fix up the include path of compat_time.h (automated)Nick Mathewson
2018-06-28Extract time functionality into lib/wallclock and lib/timeNick Mathewson
2018-06-28Move floating-point math functions into a new lib/mathNick Mathewson
2018-06-28Move compute_num_cpus to lib/threadNick Mathewson
2018-06-28Move network_init to lib/netNick Mathewson
2018-06-28Move tor_gethostname to lib/netNick Mathewson
2018-06-28Move tor_escape_str_for_pt_args into or/transports.cNick Mathewson
2018-06-28Move string_is_key_value to lib/encodingNick Mathewson
2018-06-28Move weakrng into lib/intmathNick Mathewson
2018-06-28Move lockfile code into lib/fsNick Mathewson
2018-06-28Move socket-errno code into lib/netNick Mathewson
2018-06-28Extract process-management functionality into a new lib/processNick Mathewson
Note that procmon does *not* go here, since procmon needs to integrate with the event loop.
2018-06-28Move conffile and storagedir to lib/fsNick Mathewson
2018-06-28Fix up the modules that include memarea.h (automated)Nick Mathewson
2018-06-28Extract memarea into its own libraryNick Mathewson
2018-06-28Extract 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.
2018-06-28Extract the alert-socket code into lib/net.Nick Mathewson
This code was in compat_threads, since it was _used_ for efficiently notifying the main libevent thread from another thread. But in spite of its usage, it's fundamentally a part of the network code.
2018-06-27rectify include paths (automatic) for confline.hNick Mathewson