Skip to content
Snippets Groups Projects
  1. Aug 22, 2011
  2. 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
  3. Aug 17, 2011
  4. Aug 10, 2011
    • Sebastian Hahn's avatar
      Ignore deprecation warnings on OS X · 92bea30e
      Sebastian Hahn authored
      Starting with Lion, Apple decided to deprecate the system openssl. We
      can start requiring users to install their own openssl once OS X doesn't
      ship with it anymore.
      92bea30e
  5. Jul 18, 2011
  6. Jun 21, 2011
  7. May 11, 2011
  8. May 06, 2011
  9. May 05, 2011
  10. Apr 02, 2011
  11. Mar 28, 2011
  12. Mar 27, 2011
  13. Mar 18, 2011
  14. Mar 10, 2011
  15. Feb 22, 2011
  16. Feb 03, 2011
  17. Jan 12, 2011
  18. Jan 06, 2011
    • Nick Mathewson's avatar
      Use autoconf's FLEXIBLE_ARRAY_MEMBER for unspecified-length arrays · d4165ef8
      Nick Mathewson authored
      C99 allows a syntax for structures whose last element is of
      unspecified length:
         struct s {
           int elt1;
           ...
           char last_element[];
         };
      
      Recent (last-5-years) autoconf versions provide an
      AC_C_FLEXIBLE_ARRAY_MEMBER test that defines FLEXIBLE_ARRAY_MEMBER
      to either no tokens (if you have c99 flexible array support) or to 1
      (if you don't).  At that point you just use offsetof
      [STRUCT_OFFSET() for us] to see where last_element begins, and
      allocate your structures like:
      
         struct s {
           int elt1;
           ...
           char last_element[FLEXIBLE_ARRAY_MEMBER];
         };
      
         tor_malloc(STRUCT_OFFSET(struct s, last_element) +
                                         n_elements*sizeof(char));
      
      The advantages are:
      
         1) It's easier to see which structures and elements are of
            unspecified length.
         2) The compiler and related checking tools can also see which
            structures and elements are of unspecified length, in case they
            wants to try weird bounds-checking tricks or something.
         3) The compiler can warn us if we do something dumb, like try
            to stack-allocate a flexible-length structure.
      d4165ef8
  19. Jan 03, 2011
  20. Nov 21, 2010
  21. Nov 20, 2010
  22. Nov 16, 2010
  23. Nov 11, 2010
    • Nick Mathewson's avatar
      Split long lines in configure.in and Makefile.am files · 223fc208
      Nick Mathewson authored
      Having very long single lines with lots and lots of things in them
      tends to make files hard to diff and hard to merge.  Since our tools
      are one-line-at-a-time, we should try to construct lists that way too,
      within reason.
      
      This incidentally turned up a few headers in configure.in that we were
      for some reason searching for twice.
      223fc208
  24. Nov 10, 2010
    • Sebastian Hahn's avatar
      Remove everything related to os x expert package · fcdf1470
      Sebastian Hahn authored
      We decided to no longer ship expert packages for OS X because they're a
      lot of trouble to keep maintained and confuse users. For those who want
      a tor on OS X without Vidalia, macports is a fine option. Alternatively,
      building from source is easy, too.
      
      The polipo stuff that is still required for the Vidalia bundle build can
      now be found in the torbrowser repository,
      git://git.torproject.org/torbrowser.git.
      fcdf1470
  25. Oct 20, 2010
    • Sebastian Hahn's avatar
      Remove redundant -Wpointer-sign CFLAG · 4f0badf9
      Sebastian Hahn authored
      -Wpointer-sign is implied with -Wall, which we use when building with
      --enable-gcc-warnings.
      4f0badf9
    • Sebastian Hahn's avatar
      Remove redundant -Wformat -Wformat-security CFLAGS · 12d675a8
      Sebastian Hahn authored
      When configuring with --enable-gcc-warnings, we use -Wformat=2 which
      automatically enables the available -Wformat switches, so adding them
      again in the --enable-gcc-hardening case doesn't make sense..
      12d675a8
    • Sebastian Hahn's avatar
      Use ssp-buffer-size param when hardening · cee4dc61
      Sebastian Hahn authored
      We used to enable ssp-buffer-size=1 only when building with
      --enable-gcc-warnings. That would result in warnings (and no
      protection for small arrays) when building with
      --enable-gcc-hardening without enabling warnings, too. Fixes bug
      2031.
      
      Also remove an XXX: We now allow to build with -fstack-protector
      by using --enable-gcc-hardening.
      cee4dc61
  26. Oct 15, 2010
  27. Oct 11, 2010
  28. Oct 01, 2010
  29. Sep 30, 2010
Loading