1. 14 Jan, 2019 1 commit
  2. 11 Jan, 2019 7 commits
    • George Kadianakis's avatar
    • Taylor R Campbell's avatar
      Fix wrong bases. · 9728d3f8
      Taylor R Campbell authored
      9728d3f8
    • Taylor R Campbell's avatar
      Add some more type checking. · d82a8a7f
      Taylor R Campbell authored
      NOTE: This commit breaks the build, because there was a mistake in an
      earlier change of exactly the sort that this is meant to detect!  I'm
      leaving it broken for illustration.
      d82a8a7f
    • Taylor R Campbell's avatar
      0f8253bd
    • Taylor R Campbell's avatar
      Move ceil call back into the geometric sampler. · 531df959
      Taylor R Campbell authored
      Test exactly what the geometric sampler returns, because that's what
      the downstream callers of it are going to use.
      
      While here, also assert that the geometric sampler returns a positive
      integer.  (Our geometric distribution is the one suported on {1, 2,
      3, ...} that returns the number of trials before the first success,
      not the one supported on {0, 1, 2, ...} that returns the number of
      failures before the first success.)
      531df959
    • Taylor R Campbell's avatar
      Fix more type redefinition errors. · 948856c0
      Taylor R Campbell authored
      In file included from ./src/core/or/or_circuit_st.h:12:0,
                       from src/core/or/circuitlist.c:112:
      ./src/core/or/circuit_st.h:15:39: error: redefinition of typedef ‘circpad_machine_spec_t’
      ./src/core/or/circuitpadding.h:572:3: note: previous declaration of ‘circpad_machine_spec_t’ was here
      ./src/core/or/circuit_st.h:16:40: error: redefinition of typedef ‘circpad_machine_state_t’
      ./src/core/or/circuitpadding.h:517:3: note: previous declaration of ‘circpad_machine_state_t’ was here
      948856c0
    • Taylor R Campbell's avatar
      Fix type redefinition errors. · ca544246
      Taylor R Campbell authored
      In file included from src/core/or/connection_edge.c:70:0:
      ./src/core/or/circuitpadding.h:16:26: error: redefinition of typedef ‘circuit_t’
      ./src/core/or/or.h:930:26: note: previous declaration of ‘circuit_t’ was here
      ./src/core/or/circuitpadding.h:17:33: error: redefinition of typedef ‘origin_circuit_t’
      ./src/core/or/or.h:931:33: note: previous declaration of ‘origin_circuit_t’ was here
      ./src/core/or/circuitpadding.h:18:23: error: redefinition of typedef ‘cell_t’
      ./src/core/or/or.h:628:23: note: previous declaration of ‘cell_t’ was here
      
      typedef doesn't work for forward declarations, but plain struct
      without a typedef wrapper does (and unlike the _t type aliases makes
      it clearer for everyone whether you're talking about the struct or
      the pointer).
      ca544246
  3. 10 Jan, 2019 6 commits
  4. 02 Jan, 2019 17 commits
  5. 21 Dec, 2018 9 commits