]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Fri, 29 Jun 2018 15:07:16 +0000 (11:07 -0400)]
Remove windows libraries from util.h and compat.h
Nick Mathewson [Fri, 29 Jun 2018 14:59:23 +0000 (10:59 -0400)]
Extract socks5_status_t
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.
Nick Mathewson [Fri, 29 Jun 2018 14:55:38 +0000 (10:55 -0400)]
Move SIO_IDEAL_SEND_BACKLOG_QUERY into socket.h
Nick Mathewson [Fri, 29 Jun 2018 14:52:08 +0000 (10:52 -0400)]
Remove an errant (and unused) include permission in lib/tls
Nick Mathewson [Fri, 29 Jun 2018 14:51:15 +0000 (10:51 -0400)]
Remove compat.c and util.c
Nick Mathewson [Fri, 29 Jun 2018 14:50:05 +0000 (10:50 -0400)]
Extract getpass to a new lib/term library
(Term is short for terminal)
Nick Mathewson [Fri, 29 Jun 2018 14:37:35 +0000 (10:37 -0400)]
Extract get_uname to lib/osinfo.
Nick Mathewson [Fri, 29 Jun 2018 14:23:52 +0000 (10:23 -0400)]
Move SUBTYPE_P into compat_compiler.h
Nick Mathewson [Fri, 29 Jun 2018 14:21:50 +0000 (10:21 -0400)]
Move bool_eq and bool_neq to lib/intmath
Nick Mathewson [Fri, 29 Jun 2018 14:16:57 +0000 (10:16 -0400)]
Remove read_all and write_all
These had become wrappers around their fd and socket variants; there
were only a few users of the original functions still remaining.
Nick Mathewson [Fri, 29 Jun 2018 13:44:39 +0000 (09:44 -0400)]
Move fd and memory-info functions.
Nick Mathewson [Fri, 29 Jun 2018 13:34:37 +0000 (09:34 -0400)]
Move tor_get_avail_disk_space() to lib/fs
Nick Mathewson [Thu, 28 Jun 2018 22:19:53 +0000 (18:19 -0400)]
Merge remote-tracking branch 'catalyst-github/fix-macos-includes'
Taylor Yu [Thu, 28 Jun 2018 22:15:53 +0000 (17:15 -0500)]
Fix macOS includes
Recent code movement from refactoring missed some includes that seem
to be necessary on macOS.
Nick Mathewson [Thu, 28 Jun 2018 21:21:15 +0000 (17:21 -0400)]
Fix a bogus n in a comment
Nick Mathewson [Thu, 28 Jun 2018 20:37:59 +0000 (16:37 -0400)]
A couple of includes to make windows compile again
Nick Mathewson [Thu, 28 Jun 2018 20:29:35 +0000 (16:29 -0400)]
Fix paths for buffers.h; automated.
Nick Mathewson [Thu, 28 Jun 2018 20:25:06 +0000 (16:25 -0400)]
Move buffers into container
Split the network-only and compression-only parts of buffers into
the appropriate modules.
Nick Mathewson [Thu, 28 Jun 2018 19:34:51 +0000 (15:34 -0400)]
Add sys/capability.h and sys/prctl.h includes in setuid.c
Nick Mathewson [Thu, 28 Jun 2018 19:20:26 +0000 (15:20 -0400)]
compat_threads.c needs string.h for memset.
Nick Mathewson [Thu, 28 Jun 2018 17:57:23 +0000 (13:57 -0400)]
Remove all include common/ uses in crypto_ops and tls.
Nick Mathewson [Thu, 28 Jun 2018 17:40:21 +0000 (13:40 -0400)]
Fix windows compilation in compat_time
We need to use lib/fs/winlib.h here so that we can use
GetTickCount64.
I would love to declare that XP is dead, and everybody has
GetTickCount64.
Nick Mathewson [Thu, 28 Jun 2018 17:39:49 +0000 (13:39 -0400)]
Use tor_ntohs in compress.c; avoid a winsocks dependency
Nick Mathewson [Thu, 28 Jun 2018 17:39:09 +0000 (13:39 -0400)]
fixup! Extract time functionality into lib/wallclock and lib/time
Nick Mathewson [Thu, 28 Jun 2018 17:37:51 +0000 (13:37 -0400)]
Move DLL support to lib/fs
Nick Mathewson [Thu, 28 Jun 2018 17:26:27 +0000 (13:26 -0400)]
Add ntohs and htons to lib/arch/bytes.h
Nick Mathewson [Thu, 28 Jun 2018 17:19:58 +0000 (13:19 -0400)]
Update lib/compress to not require common/*.h
Nick Mathewson [Thu, 28 Jun 2018 17:19:42 +0000 (13:19 -0400)]
Move MIN and MAX into lib/intmath/cmp.h
Nick Mathewson [Thu, 28 Jun 2018 17:02:33 +0000 (13:02 -0400)]
Remove a pair of windows flags used nowhere in our code
Nick Mathewson [Thu, 28 Jun 2018 16:58:53 +0000 (12:58 -0400)]
Fix up the include path of compat_time.h (automated)
Nick Mathewson [Thu, 28 Jun 2018 16:57:01 +0000 (12:57 -0400)]
Extract time functionality into lib/wallclock and lib/time
Nick Mathewson [Thu, 28 Jun 2018 16:24:45 +0000 (12:24 -0400)]
Move floating-point math functions into a new lib/math
Nick Mathewson [Thu, 28 Jun 2018 16:08:18 +0000 (12:08 -0400)]
Move compute_num_cpus to lib/thread
Nick Mathewson [Thu, 28 Jun 2018 15:59:16 +0000 (11:59 -0400)]
Move network_init to lib/net
Nick Mathewson [Thu, 28 Jun 2018 15:57:01 +0000 (11:57 -0400)]
Move tor_gethostname to lib/net
Nick Mathewson [Thu, 28 Jun 2018 15:49:27 +0000 (11:49 -0400)]
Move tor_escape_str_for_pt_args into or/transports.c
Nick Mathewson [Thu, 28 Jun 2018 15:46:32 +0000 (11:46 -0400)]
Move string_is_key_value to lib/encoding
Nick Mathewson [Thu, 28 Jun 2018 15:39:49 +0000 (11:39 -0400)]
Move weakrng into lib/intmath
Nick Mathewson [Thu, 28 Jun 2018 15:33:50 +0000 (11:33 -0400)]
Move lockfile code into lib/fs
Nick Mathewson [Thu, 28 Jun 2018 15:20:31 +0000 (11:20 -0400)]
Move socket-errno code into lib/net
Nick Mathewson [Thu, 28 Jun 2018 14:53:34 +0000 (10:53 -0400)]
Extract process-management functionality into a new lib/process
Note that procmon does *not* go here, since procmon needs to
integrate with the event loop.
Nick Mathewson [Thu, 28 Jun 2018 13:42:33 +0000 (09:42 -0400)]
Fix the include paths for storagedir,conffile (automated)
Nick Mathewson [Thu, 28 Jun 2018 13:38:17 +0000 (09:38 -0400)]
Move conffile and storagedir to lib/fs
Nick Mathewson [Thu, 28 Jun 2018 13:25:58 +0000 (09:25 -0400)]
Fix up the modules that include memarea.h (automated)
Nick Mathewson [Thu, 28 Jun 2018 13:25:18 +0000 (09:25 -0400)]
Extract memarea into its own library
Nick Mathewson [Thu, 28 Jun 2018 13:14:42 +0000 (09:14 -0400)]
Extract threading code into a new library.
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.
Nick Mathewson [Thu, 28 Jun 2018 12:49:07 +0000 (08:49 -0400)]
Extract the alert-socket code into lib/net.
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.
Nick Mathewson [Wed, 27 Jun 2018 20:54:57 +0000 (16:54 -0400)]
rectify include paths (automatic) for confline.h
Nick Mathewson [Wed, 27 Jun 2018 20:52:39 +0000 (16:52 -0400)]
Move confline.c to lib/encoding: it is about encoding key-value pairs
Also, move "unescape_string()" to encoding too, since it's about
encoding data as C strings.
Nick Mathewson [Wed, 27 Jun 2018 20:43:01 +0000 (16:43 -0400)]
Split confline into confline and conffile.
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.
Nick Mathewson [Wed, 27 Jun 2018 20:21:55 +0000 (16:21 -0400)]
Move hex_str to binascii.c
Nick Mathewson [Wed, 27 Jun 2018 20:17:46 +0000 (16:17 -0400)]
Extract time encoding functions into lib/encoding
Nick Mathewson [Wed, 27 Jun 2018 19:59:07 +0000 (15:59 -0400)]
Move util_format into a new libtor-encoding library
libtor-encoding is about various ways to transform data to and from
character sequences.
Nick Mathewson [Wed, 27 Jun 2018 19:45:53 +0000 (15:45 -0400)]
Move several address-string-testing functions to address.c
Nick Mathewson [Wed, 27 Jun 2018 19:36:42 +0000 (15:36 -0400)]
Move various mem* functions to lib/string
Nick Mathewson [Wed, 27 Jun 2018 19:28:55 +0000 (15:28 -0400)]
Move tor_strtok_r to libtor-string
Nick Mathewson [Wed, 27 Jun 2018 19:00:11 +0000 (15:00 -0400)]
Move set/get_uint*() to inline functions in arch/bytes.h
Also move our ntohll/htonll functions.
Nick Mathewson [Wed, 27 Jun 2018 18:45:17 +0000 (14:45 -0400)]
Merge branch 'fs_refactor'
Nick Mathewson [Wed, 27 Jun 2018 18:45:14 +0000 (14:45 -0400)]
Merge branch 'sandbox_refactor'
Nick Mathewson [Wed, 27 Jun 2018 16:52:31 +0000 (12:52 -0400)]
Merge branch 'net_refactor'
Nick Mathewson [Wed, 27 Jun 2018 16:47:08 +0000 (12:47 -0400)]
Merge branch 'ticket26494'
Nick Mathewson [Wed, 27 Jun 2018 16:35:48 +0000 (12:35 -0400)]
fixup! Move format_win32_error into lib/log/
Nick Mathewson [Wed, 27 Jun 2018 13:40:21 +0000 (09:40 -0400)]
Extract functions from compat.c and util.h into a new fs library
Nick Mathewson [Wed, 27 Jun 2018 16:15:22 +0000 (12:15 -0400)]
Move format_win32_error into lib/log/
Nick Mathewson [Wed, 27 Jun 2018 14:50:24 +0000 (10:50 -0400)]
Move read/write_all_to_socket into lib/net.
Nick Mathewson [Wed, 27 Jun 2018 14:47:09 +0000 (10:47 -0400)]
Split read_all and write_all into separate functions
Nick Mathewson [Wed, 27 Jun 2018 14:12:39 +0000 (10:12 -0400)]
Minimize and permit sandbox includes from crypto_ops.
Nick Mathewson [Wed, 27 Jun 2018 14:11:27 +0000 (10:11 -0400)]
Minimize includes from sandbox.c
Nick Mathewson [Wed, 27 Jun 2018 13:49:08 +0000 (09:49 -0400)]
Fix up include paths for sandbox.h (automated)
Nick Mathewson [Wed, 27 Jun 2018 13:48:26 +0000 (09:48 -0400)]
Move sandbox code into a new library.
Nick Mathewson [Wed, 27 Jun 2018 13:53:46 +0000 (09:53 -0400)]
Revert "Use the "commands" argument of AC_CONFIG_FILES to make scripts +x"
This reverts commit
56c1fbf33f34e010ec33e7660fab3ec3ecb43fc8 .
Nick Mathewson [Wed, 27 Jun 2018 13:13:04 +0000 (09:13 -0400)]
rectify include paths (automatic) for address.h
Nick Mathewson [Wed, 27 Jun 2018 13:09:10 +0000 (09:09 -0400)]
Link GetAdaptersAddresses, rather than loading it on-demand.
This function has been present since Windows XP.
Nick Mathewson [Wed, 27 Jun 2018 00:42:47 +0000 (20:42 -0400)]
Move network code to libtor-net.
There are some additional changes to come: those points are marked
by XXXX.
Nick Mathewson [Wed, 27 Jun 2018 01:02:29 +0000 (21:02 -0400)]
Move tor_parse_long and friends into parse_int.h in libtor-string
Nick Mathewson [Wed, 27 Jun 2018 00:51:17 +0000 (20:51 -0400)]
Move the escape-for-log code into src/lib/log
It doesn't need anything higher-level, and everything that needs the
logs potentially needs this.
Nick Mathewson [Tue, 26 Jun 2018 21:02:06 +0000 (17:02 -0400)]
Merge branch 'ticket26439'
Nick Mathewson [Tue, 26 Jun 2018 17:20:54 +0000 (13:20 -0400)]
Finish renaming digestset_contains to digestset_probably_contains
Since bloom filters are probabilistic, it's nice to make it clear
that the "contains" operation can have false positives.
Nick Mathewson [Tue, 26 Jun 2018 17:18:23 +0000 (13:18 -0400)]
Refactor bloom filter logic not to be digest-specific.
Now the address-set code and the digest-set code share the same
backend.
Closes ticket 26510
Nick Mathewson [Tue, 26 Jun 2018 16:21:35 +0000 (12:21 -0400)]
fixup! Extract core part of smartlist code into its own library.
Nick Mathewson [Tue, 26 Jun 2018 16:18:49 +0000 (12:18 -0400)]
fixup! Extract core part of smartlist code into its own library.
Nick Mathewson [Tue, 26 Jun 2018 16:16:04 +0000 (12:16 -0400)]
Use raw_assert directly in smartlist_core
I had previously added a "#define tor_assert raw_assert" here, to
make code movement in the previous commit more clear.
Nick Mathewson [Tue, 26 Jun 2018 16:13:23 +0000 (12:13 -0400)]
Extract core part of smartlist code into its own library.
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.
Nick Mathewson [Tue, 26 Jun 2018 16:04:24 +0000 (12:04 -0400)]
Remove some accidentally committed code in checkIncludes.py
Nick Mathewson [Tue, 26 Jun 2018 15:33:53 +0000 (11:33 -0400)]
Fix comments in lib/container/*.c
Nick Mathewson [Tue, 26 Jun 2018 15:27:33 +0000 (11:27 -0400)]
Merge branch 'log_dependencies'
Nick Mathewson [Tue, 26 Jun 2018 13:21:59 +0000 (09:21 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Tue, 26 Jun 2018 13:21:59 +0000 (09:21 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Tue, 26 Jun 2018 13:21:59 +0000 (09:21 -0400)]
Merge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Tue, 26 Jun 2018 13:21:59 +0000 (09:21 -0400)]
Merge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Tue, 26 Jun 2018 13:21:59 +0000 (09:21 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Tue, 26 Jun 2018 13:21:55 +0000 (09:21 -0400)]
Merge branch 'feature26372_029' into maint-0.2.9
Nick Mathewson [Tue, 26 Jun 2018 13:12:28 +0000 (09:12 -0400)]
Merge branch 'maint-0.3.4'
"ours" to avoid version bump.
Nick Mathewson [Tue, 26 Jun 2018 13:12:23 +0000 (09:12 -0400)]
Bump version to 0.3.4.3-alpha-dev
Nick Mathewson [Tue, 26 Jun 2018 12:49:06 +0000 (08:49 -0400)]
Forward-port the 0.3.4.3-alpha ChangeLog
Nick Mathewson [Mon, 25 Jun 2018 20:52:14 +0000 (16:52 -0400)]
Include stdio.h in torerr.c.
Nick Mathewson [Mon, 25 Jun 2018 18:08:03 +0000 (14:08 -0400)]
Merge branch 'maint-0.3.4'
"ours" merge to avoid version bump.
Nick Mathewson [Mon, 25 Jun 2018 18:07:23 +0000 (14:07 -0400)]
Bump to 0.3.4.3-alpha.
Nick Mathewson [Mon, 25 Jun 2018 17:50:37 +0000 (13:50 -0400)]
Merge branch 'maint-0.3.4'
Roger Dingledine [Sun, 24 Jun 2018 22:14:24 +0000 (18:14 -0400)]
better log line for debugging #26485