summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
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-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-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-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-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
2018-06-21Rectify include paths (automated)Nick Mathewson
2018-06-21Extract compression functions into a new library.Nick Mathewson
2018-06-21Rectify include paths (automated)Nick Mathewson
2018-06-21Move consttime library code into its own directory.Nick Mathewson
2018-06-21Rectify include paths (automated)Nick Mathewson
2018-06-21Extract error functionality into a new lowest-level library.Nick Mathewson
2018-06-21Rectify include paths (automated)Nick Mathewson
2018-06-21Fix distcheck by naming header properly.Nick Mathewson
2018-06-21Merge remote-tracking branch 'rl1987/ticket19979_2'Nick Mathewson
2018-06-21Merge branch 'maint-0.3.4'Nick Mathewson
2018-06-21add a bn.h include to crypto_dh.cNick Mathewson
2018-06-20eol@eof is still the law in 0.3.4 :(Nick Mathewson
2018-06-20Merge branch 'maint-0.3.4'Nick Mathewson
2018-06-20Fix clang warnings introduced by 9f2b887c5d251b93ee9def708Nick Mathewson
2018-06-20Don't use any asserts(), even raw, in format_number_sigsafe().Nick Mathewson
Also explain why.
2018-06-20Use raw_assert() in write_all().Nick Mathewson
This makes tor_log() finally non-circular.
2018-06-20Use raw_assert() in central allocation functions.Nick Mathewson
This is, again, to avoid circularity in the log code.
2018-06-20Use raw_assert in mutex functions to avoid circularity in logs.Nick Mathewson
2018-06-20Allow raw_assert() to dump stack traces.Nick Mathewson
It doesn't do this as beautifully as tor_assert(), but it doesn't depend on any higher-level code.
2018-06-20Remove log dependency from backtrace.[ch]Nick Mathewson
2018-06-20Use compat_compiler to restore macros in torerr.hNick Mathewson
2018-06-20Split compiler-compatibility parts of compat.hNick Mathewson
2018-06-20Move horrible-emergency handling into torerr.[ch]Nick Mathewson
Previously we had code like this for bad things happening from signal handlers, but it makes sense to use the same logic to handle cases when something is happening at a level too low for log.c to be involved. My raw_assert*() stuff now uses this code.
2018-06-20Use raw_assert in tor_gettimeofdayNick Mathewson
We don't want to actually be calling logs when gettimeofday() fails, since we need gettimeofday() to log.
2018-06-20Remove all use of the assert.h headerNick Mathewson
Nothing in Tor has actually called assert() for some while.
2018-06-20Add raw_assert() variants for cases where we cannot log.Nick Mathewson
Remove a different raw_assert() macro declared in log.c
2018-06-20Remove dmalloc support; closes #26426Nick Mathewson
Dmalloc hasn't seen a release in over a decade, and there are much better tools to use these days.
2018-06-20Run rectify_include_paths.pyNick Mathewson
2018-06-20Simplify AM_CPPFLAGS include setupNick Mathewson
We had accumulated a bunch of cruft here. Now let's only include src and src/ext. (exception: src/trunnel is autogenerated code, and need to include src/trunnel.) This commit will break the build hard. The next commit will fix it.
2018-06-20Update copyrights to 2018.Nick Mathewson
2018-06-19When possible, use RFC5869 HKDF implementation from OpenSSLrl1987
Also, stop supporting empty HKDF input key material
2018-06-17Merge remote-tracking branch 'ffmancera-1/bug24658-dh_stream'Nick Mathewson
2018-06-17Merge remote-tracking branch 'rl1987/bug26282'Nick Mathewson
2018-06-13Merge remote-tracking branch 'rl1987/bug24891'Nick Mathewson