Permalink
Commits on Mar 26, 2009
  1. Bump version number, 1.6.0.2 -> 1.6.0.3

    igfoo committed Mar 26, 2009
    And added a changelog entry
Commits on Mar 17, 2009
Commits on Feb 19, 2009
  1. Fix sdist so that it preserves executable permissions

    dcoutts committed Feb 19, 2009
    Needed for ./configure scripts etc.
  2. Compat fixes for ghc-6.4.x

    dcoutts committed Feb 19, 2009
Commits on Feb 18, 2009
  1. Specify a temp output file for the header/lib checks

    dcoutts committed Feb 18, 2009
    Otherwise we litter the current dir with a.out and *.o files.
  2. Use more cc options when checking for header files and libs

    dcoutts committed Feb 18, 2009
    Use -I. to simulate the search path that gets used when we tell ghc
    to -#include something. Also use the include dirs and cc options of
    dependent packages. These two changes fix about 3 packages each.
Commits on Feb 13, 2009
  1. Validate the docbook xml before processing.

    dcoutts committed Feb 13, 2009
    Apparently xsltproc does not validate against the dtd.
    This should stop errors creaping back in.
  2. Folly the directions for docbook-xsl

    SamB committed Feb 13, 2009
    As it says in http://docbook.sourceforge.net/release/xsl/current/README:
    
      - Use the base canonical URI in combination with one of the
        pathnames below. For example, for "chunked" HTML, output:
    
        http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
Commits on Feb 12, 2009
  1. Make documentation validate

    SamB committed Feb 12, 2009
Commits on Feb 6, 2009
  1. Don't build ghci lib if we're not making vanilla libs

    dcoutts committed Feb 6, 2009
    As the .o files will not exist.
Commits on Feb 5, 2009
  1. Fix compat functions for setting file permissions on windows

    dcoutts committed Feb 5, 2009
    Spotted by Dominic Steinitz
Commits on Feb 3, 2009
Commits on Feb 1, 2009
Commits on Jan 31, 2009
  1. Improve the error message for missing foreign libs and make it fatal

    dcoutts committed Jan 31, 2009
    The check should now be accurate enough that we can make it an
    error rather than just a warning.
  2. Use the cc, cpp and ld options when checking foreign headers and libs

    dcoutts committed Jan 31, 2009
    In partiular this is needed for packages that use ./configure
    scripts to write .buildinfo files since they typically do not
    split the cpp/cc/ldoptions into the more specific fields.
  3. Do the check for foreign libs after running configure

    dcoutts committed Jan 31, 2009
    This lets us pick up build info discovered by the ./configure script
Commits on Jan 30, 2009
  1. #262 iterative tests for foreign dependencies

    alexeevg committed Jan 30, 2009
    Optimize for succesful case. First try all libs and includes in one command, 
    proceed with further tests only if the first test fails. The same goes for libs 
    and headers: look for an offending one only when overall test fails.
  2. move imports outside ifdef GHC

    Ross Paterson committed Jan 30, 2009
Commits on Jan 29, 2009
Commits on Jan 28, 2009
  1. Use copyOrdinaryFile and copyExecutableFile instead of copyFile

    dcoutts committed Jan 28, 2009
    This is a minimal patch for the Cabal-1.6 branch only.
  2. Add Distribution.Compat.CopyFile module

    dcoutts committed Jan 28, 2009
    This is to work around the file permissions problems with the
    standard System.Directory.copyFile function. When installing
    files we do not want to copy permissions or attributes from the
    source files. On unix we want to use specific permissions and
    on windows we want to inherit default permissions. On unix:
    copyOrdinaryFile   sets the permissions to -rw-r--r--
    copyExecutableFile sets the permissions to -rwxr-xr-x
Commits on Jan 26, 2009
  1. Warn if C dependencies not found (kind of fixes #262)

    alexeevg committed Jan 26, 2009
    This is just a basic check - generate a sample program and check if it compiles and links with relevant flags. Error messages (warning messages, 
    actually) could use some improvement.
Commits on Jan 25, 2009
  1. Check for ghc-options: -threaded in libraries

    dcoutts committed Jan 25, 2009
    It's totally unnecessary and messes up profiling in older ghc versions.
Commits on Jan 23, 2009
  1. Update changelog for 1.6.0.2

    dcoutts committed Jan 23, 2009
Commits on Jan 22, 2009
  1. Fix installIncludeFiles to create target directories properly

    dcoutts committed Jan 22, 2009
    Previously for 'install-includes: subdir/blah.h' we would not
    create the subdir in the target location.
  2. filter -threaded when profiling is on

    dcoutts committed Jan 22, 2009
    Fixes #317. Based on a patch by gleb.alexeev@gmail.com
  3. Fix openNewBinaryFile on Windows with ghc-6.6

    dcoutts committed Jan 22, 2009
    fdToHandle calls fdGetMode which does not work with ghc-6.6 on
    windows, the workaround is not to call fdToHandle, but call
    openFd directly. Bug reported by Alistair Bayley, ticket #473.
Commits on Jan 21, 2009
Commits on Jan 18, 2009
Commits on Jan 16, 2009
  1. Improve runE parse error message

    dcoutts committed Jan 16, 2009
    Only really used in parsing config files derived from command line flags.