summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-22Add another include for windows, and change a log to a raw_assertNick Mathewson
2018-06-22Remove an "m" that did not belong.Nick Mathewson
2018-06-22Update the micro-revision.i dependencies, and add a stdlib.hNick Mathewson
2018-06-22Two more small changes for CI.Nick Mathewson
2018-06-22A pair of missing includes.Nick Mathewson
2018-06-22Fix up the rust build script library list.Nick Mathewson
2018-06-22Move util_bug into libtor-logNick Mathewson
2018-06-22Remove util_bug dependency on compat.hNick Mathewson
2018-06-22Update .gitignore and .may_include filesNick Mathewson
2018-06-22Finally 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-22Extract strlcpy and strlcmp to libtor-stringNick Mathewson
2018-06-22Extract core part of gmtime_r, localtime_r (without logging)Nick Mathewson
2018-06-22Remove the util_bug.h include from smartlist.h.Nick Mathewson
This change makes a whole bunch of things in torlog.c break, since apparently I did not find all the fd dependencies.
2018-06-22Automated fixup of include paths after torlog.h movement.Nick Mathewson
2018-06-22Extract the locking and logging codeNick Mathewson
The locking code gets its own module, since it's more fundamental than the higher-level locking code. Extracting the logging code was the whole point here. :)
2018-06-22Extract simple integer math into its own moduleNick Mathewson
2018-06-22Move smartlist_add_{v,}asprintf into smartlist.[ch]Nick Mathewson
Now that I know that "strings" nests below "container", I know this is safe.
2018-06-22Extract key string manipulation functions into a new library.Nick Mathewson
2018-06-22Move ARRAY_LENGTH to compiler_compat.hNick Mathewson
2018-06-22Remove compat.h as unneeded from log.c and torlog.hNick Mathewson
2018-06-22Extract our code for answering "what time is it right now".Nick Mathewson
The other time stuff is higher-level
2018-06-22Update permissible includesNick Mathewson
2018-06-22Expunge container.hNick Mathewson
2018-06-22Extract smartlist.h from container.hNick Mathewson
2018-06-22Remove map from container.hNick Mathewson
2018-06-22Remove bloom filters, order statistics, and bitarrays from container.hNick Mathewson
2018-06-22Remove container->crypto dependencyNick Mathewson
Containers were using crypto_digest.h, just to see the value of DIGEST_LEN. Moved those constants into a new defs module.
2018-06-22Move STRUCT_VAR_P to compat_compiler.Nick Mathewson
2018-06-22Split container.c based on container types, and minimize includesNick Mathewson
Minimizing includes revealed other places includes were necessary.
2018-06-22Rectify include paths after container split (automatic)Nick Mathewson
2018-06-22Refactor container into a library.Nick Mathewson
2018-06-21Simplify include structure of container.[ch]Nick Mathewson
2018-06-21Extract tor_malloc and friends to a new module.Nick Mathewson
2018-06-21add license statement to checkincludes, and have it return an error codeNick Mathewson
2018-06-21Fix wide lines in dirauth/dirvote.*Nick Mathewson
2018-06-21Make sure check-spaces applies in lib and dirauth.Nick Mathewson
2018-06-21Run checkIncludes.py from "make check-includes"Nick Mathewson
2018-06-21New script to check includes for modularity violationsNick Mathewson
Includes configuration files to enforce these rules on lib and common. Of course, "common" *is* a modularity violation right now, so these rules aren't as strict as I would like them to be.
2018-06-21Merge branch 'extract_easy_common_libs'Nick Mathewson
2018-06-21Rectify include paths (automated).Nick Mathewson
You have no idea how glad I am that this is automated.
2018-06-21Move testsupport.h to its own directoryNick Mathewson
2018-06-21Move responsibility for libdonna out of src/commonNick Mathewson
2018-06-21Additional non-automated change to trunnel-local.hNick Mathewson
2018-06-21Rectify include paths (automated)Nick Mathewson
2018-06-21Split crypto and tls libraries into directoriesNick Mathewson
I am calling the crypto library "crypt_ops", since I want higher-level crypto things to be separated from lower-level ones. This library will hold only the low-level ones, once we have it refactored.
2018-06-21Move more compiler-compatibility stuff into compat_compiler.hNick Mathewson
2018-06-21di_ops.c does not actually log anything.Nick Mathewson
2018-06-21Rectify include paths (automated)Nick Mathewson
2018-06-21Move compiler-compatibility headers into their own moduleNick Mathewson
This one has no generated code.
2018-06-21Remove unused pubsub module.Nick Mathewson