summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-06-27Merge branch 'net_refactor'Nick Mathewson
2018-06-27Merge branch 'ticket26494'Nick Mathewson
2018-06-27Revert "Use the "commands" argument of AC_CONFIG_FILES to make scripts +x"Nick Mathewson
This reverts commit 56c1fbf33f34e010ec33e7660fab3ec3ecb43fc8.
2018-06-27rectify include paths (automatic) for address.hNick Mathewson
2018-06-27Link GetAdaptersAddresses, rather than loading it on-demand.Nick Mathewson
This function has been present since Windows XP.
2018-06-27Move network code to libtor-net.Nick Mathewson
There are some additional changes to come: those points are marked by XXXX.
2018-06-26Move tor_parse_long and friends into parse_int.h in libtor-stringNick Mathewson
2018-06-26Move the escape-for-log code into src/lib/logNick Mathewson
It doesn't need anything higher-level, and everything that needs the logs potentially needs this.
2018-06-26Merge branch 'ticket26439'Nick Mathewson
2018-06-26Finish renaming digestset_contains to digestset_probably_containsNick Mathewson
Since bloom filters are probabilistic, it's nice to make it clear that the "contains" operation can have false positives.
2018-06-26Refactor bloom filter logic not to be digest-specific.Nick Mathewson
Now the address-set code and the digest-set code share the same backend. Closes ticket 26510
2018-06-26fixup! Extract core part of smartlist code into its own library.Nick Mathewson
2018-06-26fixup! Extract core part of smartlist code into its own library.Nick Mathewson
2018-06-26Use raw_assert directly in smartlist_coreNick Mathewson
I had previously added a "#define tor_assert raw_assert" here, to make code movement in the previous commit more clear.
2018-06-26Extract core part of smartlist code into its own library.Nick Mathewson
The smartlist_core library now contains only the parts of smartlists that are needed for the logging library. This resolves the circularity between "container" and "log". The "containers" library still uses the logging code, and has the higher-level smartlist functions.
2018-06-26Fix comments in lib/container/*.cNick Mathewson
2018-06-26Merge branch 'log_dependencies'Nick Mathewson
2018-06-25Include stdio.h in torerr.c.Nick Mathewson
2018-06-25Merge branch 'maint-0.3.4'Nick Mathewson
2018-06-24better log line for debugging #26485Roger Dingledine
2018-06-24we've never been good at using "directory" well as a nounRoger Dingledine
2018-06-24Add some casts to get test_dir.c compiling on windows.Nick Mathewson
Fixed bug 26479. Bug introduced by 0a6f4627a4292e4; bug not in any released version.
2018-06-24Fix test_geoip failures on windows by writing file in binary mode.Nick Mathewson
Fixes bug 26480; bug appeared when we re-enabled the geoip tests on windows. Bug originally introduced by our fix to 25787; bug not in any released Tor.
2018-06-22Make an inline static so we can build with coverage enabled.Nick Mathewson
2018-06-22Another windows includeNick Mathewson
2018-06-22We also need torerr in tm_cvt.Nick Mathewson
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