Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-06-27 | Move confline.c to lib/encoding: it is about encoding key-value pairs | Nick Mathewson | |
Also, move "unescape_string()" to encoding too, since it's about encoding data as C strings. | |||
2018-06-27 | Split confline into confline and conffile. | Nick Mathewson | |
The "conffile" module knows about includes and filesystem access, whereas confline doesn't. This will make it possible to put these functions into libraries without introducing a cycle. | |||
2018-06-27 | Move hex_str to binascii.c | Nick Mathewson | |
2018-06-27 | Extract time encoding functions into lib/encoding | Nick Mathewson | |
2018-06-27 | Move util_format into a new libtor-encoding library | Nick Mathewson | |
libtor-encoding is about various ways to transform data to and from character sequences. | |||
2018-06-27 | Move several address-string-testing functions to address.c | Nick Mathewson | |
2018-06-27 | Move various mem* functions to lib/string | Nick Mathewson | |
2018-06-27 | Move tor_strtok_r to libtor-string | Nick Mathewson | |
2018-06-27 | Move set/get_uint*() to inline functions in arch/bytes.h | Nick Mathewson | |
Also move our ntohll/htonll functions. | |||
2018-06-27 | Extract functions from compat.c and util.h into a new fs library | Nick Mathewson | |
2018-06-27 | Move format_win32_error into lib/log/ | Nick Mathewson | |
2018-06-27 | Move read/write_all_to_socket into lib/net. | Nick Mathewson | |
2018-06-27 | Split read_all and write_all into separate functions | Nick Mathewson | |
2018-06-27 | Fix up include paths for sandbox.h (automated) | Nick Mathewson | |
2018-06-27 | Move sandbox code into a new library. | Nick Mathewson | |
2018-06-27 | rectify include paths (automatic) for address.h | Nick Mathewson | |
2018-06-27 | Move network code to libtor-net. | Nick Mathewson | |
There are some additional changes to come: those points are marked by XXXX. | |||
2018-06-26 | Move tor_parse_long and friends into parse_int.h in libtor-string | Nick Mathewson | |
2018-06-26 | Move the escape-for-log code into src/lib/log | Nick Mathewson | |
It doesn't need anything higher-level, and everything that needs the logs potentially needs this. | |||
2018-06-26 | Refactor 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-22 | Move util_bug into libtor-log | Nick Mathewson | |
2018-06-22 | Remove util_bug dependency on compat.h | Nick Mathewson | |
2018-06-22 | Update .gitignore and .may_include files | Nick Mathewson | |
2018-06-22 | Finally 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-22 | Extract strlcpy and strlcmp to libtor-string | Nick Mathewson | |
2018-06-22 | Extract core part of gmtime_r, localtime_r (without logging) | Nick Mathewson | |
2018-06-22 | Remove 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-22 | Automated fixup of include paths after torlog.h movement. | Nick Mathewson | |
2018-06-22 | Extract the locking and logging code | Nick 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-22 | Extract simple integer math into its own module | Nick Mathewson | |
2018-06-22 | Move 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-22 | Extract key string manipulation functions into a new library. | Nick Mathewson | |
2018-06-22 | Move ARRAY_LENGTH to compiler_compat.h | Nick Mathewson | |
2018-06-22 | Remove compat.h as unneeded from log.c and torlog.h | Nick Mathewson | |
2018-06-22 | Extract our code for answering "what time is it right now". | Nick Mathewson | |
The other time stuff is higher-level | |||
2018-06-22 | Expunge container.h | Nick Mathewson | |
2018-06-22 | Extract smartlist.h from container.h | Nick Mathewson | |
2018-06-22 | Remove map from container.h | Nick Mathewson | |
2018-06-22 | Remove bloom filters, order statistics, and bitarrays from container.h | Nick Mathewson | |
2018-06-22 | Move STRUCT_VAR_P to compat_compiler. | Nick Mathewson | |
2018-06-22 | Split container.c based on container types, and minimize includes | Nick Mathewson | |
Minimizing includes revealed other places includes were necessary. | |||
2018-06-22 | Rectify include paths after container split (automatic) | Nick Mathewson | |
2018-06-22 | Refactor container into a library. | Nick Mathewson | |
2018-06-21 | Simplify include structure of container.[ch] | Nick Mathewson | |
2018-06-21 | Extract tor_malloc and friends to a new module. | Nick Mathewson | |
2018-06-21 | New script to check includes for modularity violations | Nick 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-21 | Rectify include paths (automated). | Nick Mathewson | |
You have no idea how glad I am that this is automated. | |||
2018-06-21 | Move testsupport.h to its own directory | Nick Mathewson | |
2018-06-21 | Move responsibility for libdonna out of src/common | Nick Mathewson | |
2018-06-21 | Rectify include paths (automated) | Nick Mathewson | |