[tor-commits] [tor/master] Explain why we use raw_free with getdelim result.

2018-07-10 Thread nickm
commit 391ef5e42cc79982a28aaaf22e9f9b255f6910d3 Author: Nick Mathewson Date: Tue Jul 10 20:16:37 2018 -0400 Explain why we use raw_free with getdelim result. --- src/feature/dircache/dirserv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[tor-commits] [tor/master] Integrate getdelim() and getline() support into Tor.

2018-07-10 Thread nickm
commit b04d719c1067dd1cf9b48295f1d0e7ed5adb7255 Author: Nick Mathewson Date: Tue Jul 10 10:23:29 2018 -0400 Integrate getdelim() and getline() support into Tor. --- configure.ac| 2 ++ src/ext/getdelim.c | 16 ++-- src/lib/fs/.may_include | 3 +++

[tor-commits] [tor/master] Add the compatibility definition for getdelim.c from netbsd.

2018-07-10 Thread nickm
commit 1604c0fe0e5ce74538555c19a307ad38d0fca358 Author: Nick Mathewson Date: Tue Jul 10 10:14:24 2018 -0400 Add the compatibility definition for getdelim.c from netbsd. We shouldn't actually need this code nearly anywhere we build: getdelim is POSIX, and mingw provides it. ---

[tor-commits] [tor/master] Tabify lists in configure.ac

2018-07-10 Thread nickm
commit c4dd38e625a105a5d5d29242a8531da9677c98d8 Author: Nick Mathewson Date: Tue Jul 10 20:15:23 2018 -0400 Tabify lists in configure.ac --- configure.ac | 200 +-- 1 file changed, 100 insertions(+), 100 deletions(-) diff --git

[tor-commits] [tor/master] Document compat_getdelim_.

2018-07-10 Thread nickm
commit c90961a9233e7287605886585503ee94d13a4592 Author: Nick Mathewson Date: Tue Jul 10 20:18:20 2018 -0400 Document compat_getdelim_. --- src/lib/fs/files.h | 5 + 1 file changed, 5 insertions(+) diff --git a/src/lib/fs/files.h b/src/lib/fs/files.h index d219e3cf0..2ee1b2014 100644

[tor-commits] [tor/master] Merge branch 'ticket26223'

2018-07-10 Thread nickm
commit 537092cdbb7f4be0e6d68f4e5d65ca2a403375f9 Merge: c08b7b10c c90961a92 Author: Nick Mathewson Date: Tue Jul 10 20:18:28 2018 -0400 Merge branch 'ticket26223' LICENSE| 30 ++ changes/bug26223 | 3 + configure.ac | 202

[tor-commits] [tor/master] Refactor dirserv_read_measured_bandwidths to have a single exit point

2018-07-10 Thread nickm
commit 6574d4bd27471c30da934c4d8b82ecbe2b3eab7e Author: Nick Mathewson Date: Tue Jul 10 10:26:22 2018 -0400 Refactor dirserv_read_measured_bandwidths to have a single exit point --- src/feature/dircache/dirserv.c | 23 --- 1 file changed, 12 insertions(+), 11

[tor-commits] [tor/master] Use tor_getline() in dirserv.c to remove its upper line limit.

2018-07-10 Thread nickm
commit 951d59d706f116cbfa3d3700d9b342a736a571b2 Author: Nick Mathewson Date: Tue Jul 10 10:32:09 2018 -0400 Use tor_getline() in dirserv.c to remove its upper line limit. Closes ticket 26223. --- changes/bug26223 | 3 +++ src/feature/dircache/dirserv.c | 10

[tor-commits] [torspec/master] Correct a point in proposal 288.

2018-07-10 Thread nickm
commit c590145e6d3212a1c8802360e5a1d3e777306eb6 Author: Nick Mathewson Date: Tue Jul 10 19:58:34 2018 -0400 Correct a point in proposal 288. Previously our design had called for considering a SHAKE output B bits at a time, but bitwise slicing is a pain. Instead, consider

[tor-commits] [depictor/master] Manipulate the query object directly to avoid it removing the .z suffix (when we update stem)

2018-07-10 Thread tom
commit 862a966e8f346c8a25016a141b81339cecd84ae3 Author: Tom Ritter Date: Tue Jul 10 14:57:42 2018 -0500 Manipulate the query object directly to avoid it removing the .z suffix (when we update stem) Closes #25782 --- utility.py | 3 +++ 1 file changed, 3 insertions(+) diff --git

[tor-commits] [tor/master] Rename util_malloc to malloc.

2018-07-10 Thread nickm
commit 41640b65735ec6214aa5080c2143b0982a59bb93 Author: Nick Mathewson Date: Tue Jul 10 15:16:57 2018 -0400 Rename util_malloc to malloc. --- src/core/or/or.h | 2 +- src/lib/compress/compress.c| 2 +- src/lib/compress/compress_lzma.c |

[tor-commits] [tor/master] Rename torlog.[ch] to log.[ch]

2018-07-10 Thread nickm
commit e7f5f48d68553206b95cbb4f610702c887500124 Author: Nick Mathewson Date: Tue Jul 10 15:20:28 2018 -0400 Rename torlog.[ch] to log.[ch] Fun fact: these files used to be called log.[ch] until we ran into conflicts with systems having a log.h file. But now that we always

[tor-commits] [tor/master] Merge branch 'post-refactor-renaming'

2018-07-10 Thread nickm
commit c08b7b10c520db08e20e6ac5630f0a668d5ecf3a Merge: 9ec80909e b6d0e7caa Author: Nick Mathewson Date: Tue Jul 10 15:35:49 2018 -0400 Merge branch 'post-refactor-renaming' src/core/crypto/onion_ntor.c | 2 +- src/core/or/or.h | 2 +-

[tor-commits] [tor/master] Rename tm_cvt to time_to_tm

2018-07-10 Thread nickm
commit b6d0e7caa4d11a0142a82aee065e8672b489ca51 Author: Nick Mathewson Date: Tue Jul 10 15:25:53 2018 -0400 Rename tm_cvt to time_to_tm --- src/lib/encoding/time_fmt.c | 2 +- src/lib/log/log.c| 2 +- src/lib/wallclock/include.am

[tor-commits] [tor/master] Add a changes file for 26481 (the big code movement)

2018-07-10 Thread nickm
commit 9ec80909ec7be3d9eea863dfc3f320bfe9072ae8 Author: Nick Mathewson Date: Tue Jul 10 15:07:04 2018 -0400 Add a changes file for 26481 (the big code movement) --- changes/ticket26481 | 12 1 file changed, 12 insertions(+) diff --git a/changes/ticket26481

[tor-commits] [tor/master] Merge remote-tracking branch 'neel/fbsd-cfix'

2018-07-10 Thread nickm
commit 6711a172c0b8cca96843c14d0721fd8b48034956 Merge: 422abd4fa 6d58c20d9 Author: Nick Mathewson Date: Tue Jul 10 14:50:49 2018 -0400 Merge remote-tracking branch 'neel/fbsd-cfix' changes/bug26715 | 5 + src/core/or/connection_edge.c | 7 +++

[tor-commits] [tor/master] Fix build on FreeBSD post-refactor

2018-07-10 Thread nickm
commit 6d58c20d944b7b9056fc260f29452d2627b3e9f5 Author: Neel Chauhan Date: Tue Jul 10 12:15:49 2018 -0400 Fix build on FreeBSD post-refactor --- changes/bug26715 | 5 + src/core/or/connection_edge.c | 7 +++ src/lib/net/ipv6.h| 9 + 3 files

[tor-commits] [tor/master] Remove changes file for 26715.

2018-07-10 Thread nickm
commit 3df548212a13c6f8a198ec869ee731e0f222f5bb Author: Nick Mathewson Date: Tue Jul 10 14:51:10 2018 -0400 Remove changes file for 26715. (Bugfixes on bugs that have never been in a released version don't need a changes file.) --- changes/bug26715 | 5 - 1 file changed,

[tor-commits] [translation/support-https] Update translations for support-https

2018-07-10 Thread translation
commit 759b84e4ea38537ca48256ea6ed754c206a3ddbe Author: Translation commit bot Date: Tue Jul 10 18:49:18 2018 + Update translations for support-https --- ka.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ka.json b/ka.json index ea7437ca1..457dd7920 100644 ---

[tor-commits] [tor/master] Merge branch 'ticket26526_26532'

2018-07-10 Thread nickm
commit 422abd4fa3c2c9c10f4e7f83eced7416785e89c4 Merge: ef106ce78 a2c44a7a7 Author: Nick Mathewson Date: Tue Jul 10 14:48:12 2018 -0400 Merge branch 'ticket26526_26532' changes/ticket26526 | 4 + changes/ticket26526_extra | 3 + src/app/config/config.c

[tor-commits] [tor/master] Remove all users of addr_port_lookup outside of address.c

2018-07-10 Thread nickm
commit 2f657a1416f2f81dd1be900269c4ae9bdb29f52d Author: Nick Mathewson Date: Tue Jul 10 13:18:55 2018 -0400 Remove all users of addr_port_lookup outside of address.c This function has a nasty API, since whether or not it invokes the resolver depends on whether one of its

[tor-commits] [tor/master] Refactor ipv[46].[ch]

2018-07-10 Thread nickm
commit 5d8336c182777c36ebff561b420d67fcafb9a9f7 Author: Nick Mathewson Date: Tue Jul 10 12:50:38 2018 -0400 Refactor ipv[46].[ch] These are now combined into an inaddr.[ch], since their purpose is to implement functions for struct in_addr and struct in6_addr. The

[tor-commits] [tor/master] Remove addr_port_lookup.

2018-07-10 Thread nickm
commit 8de48c111c09d76ecd00bb9dec67acb47890db01 Author: Nick Mathewson Date: Tue Jul 10 13:30:44 2018 -0400 Remove addr_port_lookup. This lets us cut the dependency from address.c to resolve.c: the address.c module now has no paths to the libc resolver in it. ---

[tor-commits] [tor/master] Move tor_addr_{, port_}lookup to resolve.c

2018-07-10 Thread nickm
commit c2ddb7b231c640a292d261af265dd423cee09179 Author: Nick Mathewson Date: Tue Jul 10 12:56:09 2018 -0400 Move tor_addr_{,port_}lookup to resolve.c --- src/lib/net/address.c | 179 src/lib/net/address.h | 5 -- src/lib/net/resolve.c |

[tor-commits] [tor/master] Isolate resolve.h usage in the modules that really need it.

2018-07-10 Thread nickm
commit a2c44a7a7e3810bb18121561f012830da696724d Author: Nick Mathewson Date: Tue Jul 10 13:36:45 2018 -0400 Isolate resolve.h usage in the modules that really need it. (Almost none of Tor should actually need to touch the platform resolver.) --- src/app/config/config.c

[tor-commits] [translation/support-https] Update translations for support-https

2018-07-10 Thread translation
commit 5495876bf340fac2b6046eb49a01372ee9de912c Author: Translation commit bot Date: Tue Jul 10 18:19:25 2018 + Update translations for support-https --- ka.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ka.json b/ka.json index 625e41dd5..ea7437ca1 100644 ---

[tor-commits] [translation/torbutton-abouttorproperties] Update translations for torbutton-abouttorproperties

2018-07-10 Thread translation
commit 5ab1ae80ec79b5e3fb69ca30ae7cb16ffddc1548 Author: Translation commit bot Date: Tue Jul 10 18:18:05 2018 + Update translations for torbutton-abouttorproperties --- ka/abouttor.properties | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

[tor-commits] [translation/torbutton-aboutdialogdtd] Update translations for torbutton-aboutdialogdtd

2018-07-10 Thread translation
commit db693f6f2f54cf765ba8594b60b38e498f2893e0 Author: Translation commit bot Date: Tue Jul 10 18:17:55 2018 + Update translations for torbutton-aboutdialogdtd --- ka/aboutdialog.dtd | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git

[tor-commits] [translation/torbutton-aboutdialogdtd_completed] Update translations for torbutton-aboutdialogdtd_completed

2018-07-10 Thread translation
commit aa31254c472cb921fa3f054cd010d9211fc99969 Author: Translation commit bot Date: Tue Jul 10 18:18:00 2018 + Update translations for torbutton-aboutdialogdtd_completed --- ka/aboutdialog.dtd | 19 +++ 1 file changed, 19 insertions(+) diff --git a/ka/aboutdialog.dtd

[tor-commits] [tor/master] Document the headers in src/app/config/

2018-07-10 Thread nickm
commit ef106ce7884b0af7adcf9f3965ebbe843a47912c Author: Nick Mathewson Date: Tue Jul 10 12:28:22 2018 -0400 Document the headers in src/app/config/ --- src/app/config/confparse.h | 6 ++ src/app/config/or_options_st.h | 6 ++ src/app/config/or_state_st.h | 6 ++

[tor-commits] [tor/master] File-level summary documentation for src/lib/*/*.[ch]

2018-07-10 Thread nickm
commit 4f42c923d61655235ebbae82f64106ecff9458d7 Author: Nick Mathewson Date: Tue Jul 10 12:22:01 2018 -0400 File-level summary documentation for src/lib/*/*.[ch] --- src/lib/cc/compat_compiler.h | 6 ++ src/lib/cc/torint.h| 9 ++---

[tor-commits] [tor/master] Add an initial CodeStructure.md file to doc/HACKING.

2018-07-10 Thread nickm
commit 23dc770f87c383a0e66055ae3ea2951c9a8a5c30 Author: Nick Mathewson Date: Tue Jul 10 11:01:07 2018 -0400 Add an initial CodeStructure.md file to doc/HACKING. Not complete or pretty, but better than nothing. --- doc/HACKING/CodeStructure.md | 129

[tor-commits] [tor/master] Describe "check-includes" in the CodingStandards.md file

2018-07-10 Thread nickm
commit 4793d913503f9349ca4b57d77a47bd1bbceecfe5 Author: Nick Mathewson Date: Tue Jul 10 11:09:25 2018 -0400 Describe "check-includes" in the CodingStandards.md file --- doc/HACKING/CodingStandards.md | 18 ++ 1 file changed, 18 insertions(+) diff --git

[tor-commits] [tor/master] Stop mentioning src/or and src/common in doc/HACKING

2018-07-10 Thread nickm
commit fa2d53aa6a5c33ea1ede4b3346d5abcc621e619f Author: Nick Mathewson Date: Tue Jul 10 11:03:45 2018 -0400 Stop mentioning src/or and src/common in doc/HACKING --- doc/HACKING/CodingStandards.md | 4 ++-- doc/HACKING/Module.md | 4 ++-- 2 files changed, 4 insertions(+), 4

[tor-commits] [translation/support-miscellaneous] Update translations for support-miscellaneous

2018-07-10 Thread translation
commit 1ce2c22f886a0a2af0c853ed1cf13c03a4924da7 Author: Translation commit bot Date: Tue Jul 10 12:49:44 2018 + Update translations for support-miscellaneous --- tr.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tr.json b/tr.json index 8535f94df..110a801d9

[tor-commits] [translation/support-miscellaneous] Update translations for support-miscellaneous

2018-07-10 Thread translation
commit 0dfb615fb65cdc0f3aa159e72cffd43bc0269899 Author: Translation commit bot Date: Tue Jul 10 12:19:33 2018 + Update translations for support-miscellaneous --- tr.json | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tr.json b/tr.json index