1. 15 Sep, 2017 2 commits
  2. 11 Sep, 2017 1 commit
  3. 07 Aug, 2017 1 commit
  4. 04 Aug, 2017 2 commits
  5. 07 Jul, 2017 1 commit
    • Nick Mathewson's avatar
      Use LANG_ENGLISH in windows error messages · 63ceadb4
      Nick Mathewson authored
      This change prevents us from generating corrupt messages when we
      are confused about codepage settings, and makes Windows errors
      consistent with the rest of our logs.
      
      Fixes bug 22520; bugfix on 0.1.2.8-alpha.  Patch from "Vort".
      63ceadb4
  6. 05 Jul, 2017 2 commits
  7. 03 Jul, 2017 1 commit
  8. 26 May, 2017 1 commit
  9. 15 Mar, 2017 1 commit
  10. 08 Mar, 2017 1 commit
    • Alexander Færøy's avatar
      Remove fgets() compatbility function and related tests. · 02fc0a5e
      Alexander Færøy authored
      This patch removes the `tor_fgets()` wrapper around `fgets(3)` since it
      is no longer needed. The function was created due to inconsistency
      between the returned values of `fgets(3)` on different versions of Unix
      when using `fgets(3)` on non-blocking file descriptors, but with the
      recent changes in bug #21654 we switch from unbuffered to direct I/O on
      non-blocking file descriptors in our utility module.
      
      We continue to use `fgets(3)` directly in the geoip and dirserv module
      since this usage is considered safe.
      
      This patch also removes the test-case that was created to detect
      differences in the implementation of `fgets(3)` as well as the changes
      file since these changes was not included in any releases yet.
      
      See: https://bugs.torproject.org/21654
      02fc0a5e
  11. 01 Mar, 2017 1 commit
  12. 25 Jan, 2017 2 commits
  13. 16 Dec, 2016 1 commit
  14. 12 Dec, 2016 1 commit
  15. 08 Nov, 2016 1 commit
    • Nick Mathewson's avatar
      Use va_copy() in pure-windows version of tor_asprintf(). · 286fa940
      Nick Mathewson authored
      It's not okay to use the same varargs list twice, and apparently
      some windows build environments produce code here that would leave
      tor_asprintf() broken. Fix for bug 20560; bugfix on 0.2.2.11-alpha
      when tor_asprintf() was introduced.
      286fa940
  16. 02 Nov, 2016 1 commit
  17. 31 Oct, 2016 1 commit
  18. 09 Sep, 2016 1 commit
  19. 06 Sep, 2016 1 commit
    • Nick Mathewson's avatar
      checkSpace.pl now forbids more identifiers. · 5927ed8d
      Nick Mathewson authored
      The functions it warns about are:
        assert, memcmp, strcat, strcpy, sprintf, malloc, free, realloc,
        strdup, strndup, calloc.
      
      Also, fix a few lingering instances of these in the code. Use other
      conventions to indicate _intended_ use of assert and
      malloc/realloc/etc.
      5927ed8d
  20. 12 Aug, 2016 1 commit
  21. 29 Jul, 2016 1 commit
  22. 28 Jul, 2016 1 commit
  23. 08 Jul, 2016 1 commit
  24. 20 Jun, 2016 2 commits
  25. 17 Jun, 2016 1 commit
    • cypherpunks's avatar
      Use the Autoconf macro AC_USE_SYSTEM_EXTENSIONS · 94762e37
      cypherpunks authored and Nick Mathewson's avatar Nick Mathewson committed
      The Autoconf macro AC_USE_SYSTEM_EXTENSIONS defines preprocessor macros
      which turn on extensions to C and POSIX. The macro also makes it easier
      for developers to use the extensions without needing (or forgetting) to
      define them manually.
      
      The macro can be safely used because it was introduced in Autoconf 2.60
      and Tor requires Autoconf 2.63 and above.
      94762e37
  26. 16 Jun, 2016 1 commit
  27. 15 Jun, 2016 1 commit
  28. 30 May, 2016 1 commit
    • Nick Mathewson's avatar
      Replace nearly all XXX0vv comments with smarter ones · 4f1a04ff
      Nick Mathewson authored
      So, back long ago, XXX012 meant, "before Tor 0.1.2 is released, we
      had better revisit this comment and fix it!"
      
      But we have a huge pile of such comments accumulated for a large
      number of released versions!  Not cool.
      
      So, here's what I tried to do:
      
        * 0.2.9 and 0.2.8 are retained, since those are not yet released.
      
        * XXX+ or XXX++ or XXX++++ or whatever means, "This one looks
          quite important!"
      
        * The others, after one-by-one examination, are downgraded to
          plain old XXX.  Which doesn't mean they aren't a problem -- just
          that they cannot possibly be a release-blocking problem.
      4f1a04ff
  29. 12 May, 2016 1 commit
  30. 28 Feb, 2016 1 commit
  31. 27 Feb, 2016 1 commit
  32. 27 Jan, 2016 1 commit
  33. 13 Jan, 2016 1 commit
  34. 17 Dec, 2015 1 commit
  35. 15 Dec, 2015 1 commit
    • Nick Mathewson's avatar
      Update KeepCapabilities based on comments from asn · 405a8d3f
      Nick Mathewson authored
      * The option is now KeepBindCapabilities
      * We now warn if the user specifically asked for KeepBindCapabilities
        and we can't deliver.
      * The unit tests are willing to start.
      * Fewer unused-variable warnings.
      * More documentation, fewer misspellings.
      405a8d3f