Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-16 | Bump copyright date to 2019. | Nick Mathewson | |
2018-10-01 | Remove routerparse include from files that dont use it | Nick Mathewson | |
2018-10-01 | Split the authority-cert and signature/hash code from routerparse | Nick Mathewson | |
2018-10-01 | Move routerparse and parsecommon to their own module. | Nick Mathewson | |
2018-09-27 | Extract the non-stats part of geoip into a new src/lib/geoip. | Nick Mathewson | |
2018-09-27 | Split geoip from geoip-related stats. | Nick Mathewson | |
This commit just moves the code to two separate files. The geoip code still has a few needless dependencies on core/* and features/*. | |||
2018-09-21 | Split directory.c code into several modules | Nick Mathewson | |
Parts of this C file naturally belong in dircache, dirclient, and dircommon: so, move them there. | |||
2018-09-19 | Split routerlist.c into 4 separate modules | Nick Mathewson | |
There are now separate modules for: * the list of router descriptors * the list of authorities and fallbacks * managing authority certificates * selecting random nodes | |||
2018-09-04 | Do not leave a certificate allocated after testing dirvote_add() | Nick Mathewson | |
2018-07-05 | Fix every include path changed in the previous commit (automated) | Nick Mathewson | |
I am very glad to have written this script. | |||
2018-06-21 | Rectify include paths (automated) | Nick Mathewson | |
2018-06-20 | Run rectify_include_paths.py | Nick Mathewson | |
2018-06-20 | Update copyrights to 2018. | Nick Mathewson | |
2018-06-15 | Extract routerinfo_t into its own header. | Nick Mathewson | |
I was expecting this to be much worse. | |||
2018-06-15 | Extract desc_store_t and routerlist_t into their own headers. | Nick Mathewson | |
2018-06-15 | Extract networkstatus_t and ..sr_info_t into their own headers | Nick Mathewson | |
2018-06-15 | Split rend_authorized_client_t and encoded_.._t into their own headers | Nick Mathewson | |
2018-06-15 | Split dir_connection_t into its own header | Nick Mathewson | |
2018-06-14 | Move dir_server_t into its own header. | Nick Mathewson | |
2018-05-01 | vote: Move dirvote_recalculate_timing() to voting_schedule.c | David Goulet | |
By doing so, it is renamed to voting_schedule_recalculate_timing(). This required a lot of changes to include voting_schedule.h everywhere that this function was used. This effectively now makes voting_schedule.{c|h} not include dirauth/dirvote.h for that symbol and thus no dependency on the dirauth module anymore. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-04-27 | mod: Move dirauth specific files to its own module | David Goulet | |
This is a pretty big commit but it only moves these files to src/or/dirauth: dircollate.c dirvote.c shared_random.c shared_random_state.c dircollate.h dirvote.h shared_random.h shared_random_state.h Then many files are modified to change the include line for those header files that have moved into a new directory. Without using --disable-module-dirauth, everything builds fine. When using the flag to disable the module, tor doesn't build due to linking errors. This will be addressed in the next commit(s). No code behavior change. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-02-20 | Remove a bunch of other redundant #includes | Nick Mathewson | |
Folks have found two in the past week or so; we may as well fix the others. Found with: \#!/usr/bin/python3 import re def findMulti(fname): includes = set() with open(fname) as f: for line in f: m = re.match(r'^\s*#\s*include\s+["<](\S+)[>"]', line) if m: inc = m.group(1) if inc in includes: print("{}: {}".format(fname, inc)) includes.add(m.group(1)) import sys for fname in sys.argv[1:]: findMulti(fname) | |||
2017-12-08 | Merge branch 'macro_free_v2_squashed' | Nick Mathewson | |
2017-12-08 | Rename connection_free_ to connection_free_minimal. | Nick Mathewson | |
2017-12-05 | Implement the various get_foodir_*() functions. | Nick Mathewson | |
2017-09-15 | Replace accumulated C ;;s with ;s | Nick Mathewson | |
I don't know where these came from. | |||
2017-09-15 | Run our #else/#endif annotator on our source code. | Nick Mathewson | |
2017-09-05 | Move protocol-specific functions out of buffers.c | Nick Mathewson | |
This commit does not change the implementation of any function: it only moves code and adds new includes as necessary. Part of #23149. | |||
2017-05-15 | Test fix: always set address in new_dir_conn() | Nick Mathewson | |
2017-05-15 | Fix dir_handle_get/... test-cases for prop#278 support. | Alexander Færøy | |
See: https://bugs.torproject.org/21667 | |||
2017-05-15 | dir_handle_get: repair two test cases, note the fixes for 3 others | Nick Mathewson | |
2017-05-04 | Store the sha3 of a networkstatus as part of the networkstatus_t | Nick Mathewson | |
Also store it in the cached_dir_t. | |||
2017-05-01 | Rename x-lzma to x-tor-lzma | Nick Mathewson | |
We shouldn't call it lzma, because we are imposing a limit on the memory needed for decoding. | |||
2017-04-25 | Tests for parse_accept_encoding | Nick Mathewson | |
2017-04-25 | Rename the `torgzip` module to `compress`. | Alexander Færøy | |
See https://bugs.torproject.org/21663 | |||
2017-04-17 | Rename `tor_gzip_{compress,uncompress}` to `tor_{compress,uncompress}`. | Alexander Færøy | |
To allow us to use the API name `tor_compress` and `tor_uncompress` as the main entry-point for all compression/uncompression and not just gzip and zlib. See https://bugs.torproject.org/21663 | |||
2017-03-28 | Merge branch 'spooling_squashed' | Nick Mathewson | |
2017-03-28 | Refactor the directory spool implementation | Nick Mathewson | |
The old implementation had duplicated code in a bunch of places, and it interspersed spool-management with resource management. The new implementation should make it easier to add new resource types and maintain the spooling code. Closing ticket 21651. | |||
2017-03-15 | Run the copyright update script. | Nick Mathewson | |
2016-11-10 | Do not serve a consensus if it is too old | rubiate | |
Closes ticket 20511. | |||
2016-11-04 | Merge branch 'ticket17238_029_02-resquash' | Nick Mathewson | |
Conflicts: src/or/rendclient.c src/or/rendcommon.c src/or/routerparse.c src/test/test_dir.c src/trunnel/ed25519_cert.h | |||
2016-11-04 | test: Add prop224 directory fetch/upload unit tests | George Kadianakis | |
Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net> | |||
2016-09-07 | set the "addr" field in the dir_handle_get tests, to resolve bug warnings. | Nick Mathewson | |
2016-09-07 | Remove the useless (and uninitialized) MOCK_TOR_ADDR in test_dir_handle_get.c | Nick Mathewson | |
2016-06-30 | Fix more naked strdup/malloc/free instances | Nick Mathewson | |
2016-06-11 | Merge branch 'bug19180_easy_squashed' | Nick Mathewson | |
2016-06-11 | Add -Wmissing-variable-declarations, with attendant fixes | Nick Mathewson | |
This is a big-ish patch, but it's very straightforward. Under this clang warning, we're not actually allowed to have a global variable without a previous extern declaration for it. The cases where we violated this rule fall into three roughly equal groups: * Stuff that should have been static. * Stuff that was global but where the extern was local to some other C file. * Stuff that was only global when built for the unit tests, that needed a conditional extern in the headers. The first two were IMO genuine problems; the last is a wart of how we build tests. | |||
2016-06-11 | Use autoconf, not gcc version, to decide which warnings we have | Nick Mathewson | |
This gives more accurate results under Clang, which can only help us detect more warnings in more places. Fixes bug 19216; bugfix on 0.2.0.1-alpha | |||
2016-06-11 | Enable -Woverlength-strings for GCC>=4.6 on MOST of the code. | Nick Mathewson | |
IMO it's fine for us to make exceptions to this rule in the unit tests, but not in the code at large. | |||
2016-05-30 | Let's not even talk about those errors, ok? | Nick Mathewson | |