Skip to content
Snippets Groups Projects
  1. Sep 05, 2012
  2. Aug 09, 2012
    • Stewart Smith's avatar
      Move to non-recursive make · 2a4a1496
      Stewart Smith authored and Nick Mathewson's avatar Nick Mathewson committed
      This gives us a few benefits:
      1) make -j clean all
         this will start working, as it should. It currently doesn't.
      2) increased parallel build
         recursive make will max out at number of files in a directory,
         non-recursive make doesn't have such a limitation
      3) Removal of duplicate information in make files,
         less error prone
      
      I've also slightly updated how we call AM_INIT_AUTOMAKE, as the way
      that was used was not only deprecated but will be *removed* in the next
      major automake release (1.13).... so probably best that we can continue
      to bulid tor without requiring old automake.
      (see http://www.gnu.org/software/automake/manual/html_node/Public-Macros.html )
      
      For more reasons  why, see resources such as:
      http://miller.emu.id.au/pmiller/books/rmch/
      2a4a1496
  3. Jul 16, 2012
  4. Jun 05, 2012
  5. May 16, 2012
  6. May 07, 2012
  7. Apr 24, 2012
  8. Feb 14, 2012
  9. Jan 31, 2012
  10. Jan 18, 2012
    • Nick Mathewson's avatar
      Rename nonconformant identifiers. · 26e789fb
      Nick Mathewson authored
      Fixes bug 4893.
      
      These changes are pure mechanical, and were generated with this
      perl script:
      
        /usr/bin/perl -w -i.bak -p
      
        s/crypto_pk_env_t/crypto_pk_t/g;
        s/crypto_dh_env_t/crypto_dh_t/g;
        s/crypto_cipher_env_t/crypto_cipher_t/g;
        s/crypto_digest_env_t/crypto_digest_t/g;
      
        s/aes_free_cipher/aes_cipher_free/g;
        s/crypto_free_cipher_env/crypto_cipher_free/g;
        s/crypto_free_digest_env/crypto_digest_free/g;
        s/crypto_free_pk_env/crypto_pk_free/g;
      
        s/_crypto_dh_env_get_dh/_crypto_dh_get_dh/g;
        s/_crypto_new_pk_env_rsa/_crypto_new_pk_from_rsa/g;
        s/_crypto_pk_env_get_evp_pkey/_crypto_pk_get_evp_pkey/g;
        s/_crypto_pk_env_get_rsa/_crypto_pk_get_rsa/g;
      
        s/crypto_new_cipher_env/crypto_cipher_new/g;
        s/crypto_new_digest_env/crypto_digest_new/g;
        s/crypto_new_digest256_env/crypto_digest256_new/g;
        s/crypto_new_pk_env/crypto_pk_new/g;
      
        s/crypto_create_crypto_env/crypto_cipher_new/g;
      
        s/connection_create_listener/connection_listener_new/g;
        s/smartlist_create/smartlist_new/g;
        s/transport_create/transport_new/g;
      26e789fb
    • Nick Mathewson's avatar
  11. Dec 19, 2011
  12. Dec 10, 2011
  13. Nov 30, 2011
    • Steven Murdoch's avatar
      Make file descriptor type an unsigned integer · a65212e3
      Steven Murdoch authored
      This avoids a warning from gcc (comparison between signed and unsigned
      integer expressions [-Werror=sign-compare]), under Windows
      a65212e3
    • Steven Murdoch's avatar
      Support NAT-PMP on Windows · 5dbfb1b3
      Steven Murdoch authored
      - Link in libws32 and libiphlpapi, needed for libnatpmp (both in
        ./configure and when compiling tor-fw-helper-natpmp.c)
      - Define STATICLIB under Windows, to allow tor-fw-helper-natpmp.c to link
      - Don't include arpa/inet.h which isn't present in Mingw32 and doesn't
        appear to be needed on either Windows or MacOS X
      5dbfb1b3
  14. Nov 25, 2011
  15. Nov 24, 2011
  16. Oct 26, 2011
    • Nick Mathewson's avatar
      Remove the -F option from tor-resolve. · a166f104
      Nick Mathewson authored and Roger Dingledine's avatar Roger Dingledine committed
      It used to mean "Force": it would tell tor-resolve to ask tor to
      resolve an address even if it ended with .onion.  But when
      AutomapHostsOnResolve was added, automatically refusing to resolve
      .onion hosts stopped making sense.  So in 0.2.1.16-rc (commit
      298dc95d), we made tor-resolve happy to resolve anything.
      
      The -F option stayed in, though, even though it didn't do anything.
      Oddly, it never got documented.
      
      Found while fixing GCC 4.6 "set, unused variable" warnings.
      a166f104
  17. Oct 11, 2011
    • Nick Mathewson's avatar
      Fix names of functions that convert strings to addrs · 00b2b69a
      Nick Mathewson authored
      Now let's have "lookup" indicate that there can be a hostname
      resolution, and "parse" indicate that there wasn't.  Previously, we
      had one "lookup" function that did resolution; four "parse" functions,
      half of which did resolution; and a "from_str()" function that didn't
      do resolution.  That's confusing and error-prone!
      
      The code changes in this commit are exactly the result of this perl
      script, run under "perl -p -i.bak" :
      
        s/tor_addr_port_parse/tor_addr_port_lookup/g;
        s/parse_addr_port(?=[^_])/addr_port_lookup/g;
        s/tor_addr_from_str/tor_addr_parse/g;
      
      This patch leaves aton and pton alone: their naming convention and
      behavior is is determined by the sockets API.
      
      More renaming may be needed.
      00b2b69a
  18. Aug 22, 2011
  19. Aug 19, 2011
    • Nick Mathewson's avatar
      Only link ws2_32 and iphlapi on windows. · 269c0b46
      Nick Mathewson authored
      This is a tweak for the tor-fw-helper port to windows.
      269c0b46
    • Steven Murdoch's avatar
      Link and build tor-fw-helper on Windows · 2ad336f9
      Steven Murdoch authored
      - Update configure script to test for libminiupnpc along with the
        libws2_32 and libiphlpapi libraries required by libminiupnpc
      - When building tor-fw-helper, link in libiphlpapi
      - Link in libminiupnpc statically becasue I could not get the DLL
        to link properly
      - Call WSAStartup before doing network operations
      - Fix up a compiler warning about uninitialized backend_state
      
      N.B. The changes to configure.in and Makefile.am will break on non-
      Windows platforms.
      2ad336f9
  20. Aug 01, 2011
  21. Jul 21, 2011
  22. Jul 19, 2011
  23. Jun 21, 2011
  24. May 23, 2011
    • Nick Mathewson's avatar
      Remove the -F option from tor-resolve. · 57810c33
      Nick Mathewson authored
      It used to mean "Force": it would tell tor-resolve to ask tor to
      resolve an address even if it ended with .onion.  But when
      AutomapHostsOnResolve was added, automatically refusing to resolve
      .onion hosts stopped making sense.  So in 0.2.1.16-rc (commit
      298dc95d), we made tor-resolve happy to resolve anything.
      
      The -F option stayed in, though, even though it didn't do anything.
      Oddly, it never got documented.
      
      Found while fixing GCC 4.6 "set, unused variable" warnings.
      57810c33
  25. Jan 03, 2011
Loading