1. 25 Sep, 2014 1 commit
    • Nick Mathewson's avatar
      Require two c99 features (midblock decls, designated initializers) · 7f5103ec
      Nick Mathewson authored
      c99 lets us do neat stuff like:
      
          {
            int j, k;
            foo(&j, &k);
            int z = j + k;
          }
      
      and also
          struct point { int x; int y; };
          struct point pt = { .x=5, .y=5 };
      
      This commit makes the configure scripts check to make sure your
      compiler implements them.  It also disables our longstanding warning
      about midblock declarations.
      
      Closes ticket 13233.
      7f5103ec
  2. 12 Sep, 2014 1 commit
  3. 02 Sep, 2014 1 commit
    • Nick Mathewson's avatar
      Divide torrc.sample into torrc.sample and torrc.minimal · 8a79b56a
      Nick Mathewson authored
      torrc.minimal is now the one that should change as infrequently as
      possible.  To schedule an change to go into it eventually, make your
      change to torrc.minimal.in-sample.
      
      torrc.sample is now the volatile one: we can change it to our hearts'
      content.
      
      Closes ticket #11144
      8a79b56a
  4. 13 Aug, 2014 1 commit
    • Nick Mathewson's avatar
      Fix configure script build with autoconf < 2.63 · 883dc335
      Nick Mathewson authored
      We added some AS_VAR_IF-based checks to detect whether we have
      managed to compile (but not link) with stack-protector.  On autoconf
      before 2.63, we don't have AS_VAR_IF, so we just have to let the
      user get a compile error rather than a helpful "find libssp" error.
      
      Fixes bug 12693; bugfix on 0.2.5.2-alpha (commit 21ac2928)
      883dc335
  5. 28 Jul, 2014 2 commits
  6. 16 Jul, 2014 3 commits
  7. 20 Jun, 2014 1 commit
    • Nick Mathewson's avatar
      Thread support is now required · 58f42007
      Nick Mathewson authored
      Long ago we supported systems where there was no support for
      threads, or where the threading library was broken. We shouldn't
      have do that any more: on every OS that matters, threads exist, and
      the OS supports running threads across multiple CPUs.
      
      This resolves tickets 9495 and 12439.  It's a prerequisite to making
      our workqueue code work better, since sensible workqueue
      implementations don't split across multiple processes.
      58f42007
  8. 18 Jun, 2014 2 commits
  9. 16 Jun, 2014 1 commit
  10. 14 Jun, 2014 1 commit
  11. 16 May, 2014 2 commits
  12. 13 May, 2014 2 commits
  13. 07 May, 2014 1 commit
  14. 05 May, 2014 1 commit
  15. 29 Apr, 2014 2 commits
  16. 28 Apr, 2014 2 commits
  17. 26 Apr, 2014 1 commit
  18. 25 Apr, 2014 1 commit
  19. 24 Apr, 2014 1 commit
  20. 17 Apr, 2014 1 commit
    • Nick Mathewson's avatar
      Get Libevent's PRNG functioning under the linux sandbox · e6785ee1
      Nick Mathewson authored
      Libevent uses an arc4random implementation (I know, I know) to
      generate DNS transaction IDs and capitalization.  But it liked to
      initialize it either with opening /dev/urandom (which won't work
      under the sandbox if it doesn't use the right pointer), or with
      sysctl({CTL_KERN,KERN_RANDOM,RANDOM_UUIC}).  To make _that_ work, we
      were permitting sysctl unconditionally.  That's not such a great
      idea.
      
      Instead, we try to initialize the libevent PRNG _before_ installing
      the sandbox, and make sysctl always fail with EPERM under the
      sandbox.
      e6785ee1
  21. 14 Apr, 2014 1 commit
  22. 23 Mar, 2014 2 commits
  23. 24 Feb, 2014 1 commit
    • Nick Mathewson's avatar
      pass our compiler -fasynchronous-unwind-tables by default · 68ed4878
      Nick Mathewson authored
      This should make more platforms (in particular, ones with compilers
      where -fomit-frame-pointer is on by default but table generation
      isn't) support backtrace generation.  Thanks to cypherpunks for this
      one.
      
      Fixes bug 11047; bugfix on 0.2.5.2-alpha.
      68ed4878
  24. 18 Feb, 2014 1 commit
  25. 17 Feb, 2014 1 commit
  26. 13 Feb, 2014 1 commit
  27. 18 Nov, 2013 3 commits
  28. 31 Oct, 2013 2 commits