Skip to content
Commits on Jan 30, 2016
  1. @23Skidoo
Commits on Jan 25, 2016
  1. @23Skidoo

    Move source files under 'src/'.

    23Skidoo committed
    Fixes #3003.
Commits on Jan 8, 2016
  1. @ezyang

    Remove same-package import lists, fixes #2835.

    ezyang committed
    Instead of qualifying, in some cases I just added an extra
    'hiding' pragma to squelch errors.  Common conflicts
    (just grep for hiding):
    
        - Flag
            - Distribution.Simple.Compiler
            - Distribution.PackageDescription
            - Distribution.Simple.Setup
        - installedComponentId
            - Distribution.Package
            - Distribution.InstalledPackageInfo
        - doesFileExist
            - Distribution.PackageDescription.Check
        - instantiatedWith
            - I renamed the field in InstalledPackageInfo.  But
              it's probably going away with Backpack bits; I
              migth just excise it soon.
        - absoluteInstallDirs and substPathTemplate
            - Distribution.Simple.InstallDirs
            - Distribution.Simple.LocalBuildInfo
    
    I fixed some shadowing errors by renaming local variables in some cases.
    Common shadowings (we should perhaps consider not using these as
    method/field names):
    
        - freeVars
        - components
        - noVersion
        - verbosity
        - get
        - description
        - name
    
    Some data structures were moved around (IPIConvert and ABIHash)
    to make it easier to handle import lists.
    
    Some functions in Utils could be turned into reexports of standard
    library functions.
    
    No explicit imports were removed from non-Cabal imports.  These
    imports help maintain warning cleanliness across versions of GHC,
    so I don't recommend removing them.
    
    Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Commits on Dec 31, 2015
  1. @ezyang

    Revert "Canonicalize path to Cabal file, partially towards #2994."

    ezyang committed
    This reverts commit f907f1a.
    This commit caused a regression in Docker, see
    https://ghc.haskell.org/trac/ghc/ticket/11326
Commits on Dec 28, 2015
  1. @ezyang

    Canonicalize path to Cabal file, partially towards #2994.

    ezyang committed
    Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Commits on Dec 13, 2015
  1. @hvr

    Use standard mechanism to tell ./configure the c-compiler

    hvr committed
    Most Autoconf configure scripts don't support the non-standard `--with-gcc`
    flag, and there does not seem to be any good reason to do so, since
    Autoconf has already a proper way to set the c-compiler:
    
    Either via the `CC` environment variable, or (with higher precedence)
    by passing a commandline argument of the form `CC=clang-3.8`.
    
    This patch simply replaces the previous non-standard `--with-gcc=clang-3.8`
    argument (which was clearly misnamed to begin with) by a `CC=clang-3.8`
    command-line argument to the `configure` script.
Commits on Sep 26, 2015
  1. Use extra-prog-path in running build-type configure

    U-CIQDEV\gbazerman committed with Gershom
Commits on Jun 27, 2015
  1. @ttuegel

    Get 'builddir' from cabal.config or CABAL_BUILDDIR

    ttuegel committed
    Fixes #2484. The 'builddir' option may now be specified in cabal.config
    as well. It will also be read from the CABAL_BUILDDIR environment
    variable, if set. The order of precedence (highest to lowest) is:
    1. --builddir command line option
    2. CABAL_BUILDDIR environment variable
    3. cabal.config setting
Commits on May 31, 2015
  1. @phadej
Commits on Mar 31, 2015
  1. @23Skidoo
Commits on Feb 23, 2015
  1. @ttuegel

    D.Simple.autoconfUserHooks: build takes extra arguments

    ttuegel committed
    Fixes #2375. The 'build' command now takes extra arguments, so
    autoconfUserHooks should not fail if they are provided.
Commits on Dec 7, 2014
  1. @lspitzner

    Change globalCommands description generation

    lspitzner committed
    - previously, runCommands internally modified the description
      by adding the list of commands.
    - now, globalCommands is a function that builds the complete
      description without need for changes during runCommands invocation.
    - slightly more code duplication, but better separation of concerns
Commits on Jul 2, 2014
  1. @thomie
Commits on Apr 21, 2014
  1. @hvr

    Use import list to hide new System.Exit.die

    hvr committed
    Starting with GHC 7.10 (and soon GHC HEAD), System.Exit exports the new `die`
    which would clash with Cabal's own `die`. See also
    
      https://ghc.haskell.org/trac/ghc/ticket/9016
    
    For more details.
Commits on Apr 14, 2014
  1. @ianbollinger

    Fix typos.

    ianbollinger committed
Commits on Feb 2, 2014
  1. @23Skidoo

    Remove the BSD3 text from file headers.

    23Skidoo committed
    It's just noise that duplicates information in the 'LICENSE' file.
Commits on Jan 3, 2014
  1. @23Skidoo

    Revert "'runConfigureScript': quote the gcc path."

    23Skidoo committed
    This reverts commit 7f9c23d.
Commits on Jan 1, 2014
  1. @23Skidoo
Commits on Aug 23, 2013
  1. @23Skidoo

    Normalise the names of environment variables on Windows.

    23Skidoo committed
    Thanks to Eugene Sukhodolin for the bug report.
Commits on Aug 7, 2013
  1. @dcoutts

    Initial implementation of repl command

    dcoutts committed
    No support yet for ovreriding the ghci :reload command.
    No support in build or repl for module/file targets.
    Not yet tested with sandboxes.
Commits on Jun 29, 2013
  1. @23Skidoo

    Merge pull request #1377 from benmachine/updated-nocompat

    23Skidoo committed
    Removing some redundant exception compatibility code
Commits on Jun 27, 2013
  1. @bmillwood

    Remove more exception compatibility code

    bmillwood committed
    This one removes Cabal's throwIOIO in favour of
    Control.Exception.throwIO.
    
    Note that throwIO is more polymorphic than throwIOIO, but in all current
    use cases the same type is inferred anyway.
Commits on Apr 25, 2013
  1. @23Skidoo

    Cosmetic changes.

    23Skidoo committed
Commits on Feb 20, 2013
  1. @bmillwood

    Update references to bugtracker

    bmillwood committed
    To reflect the move from hackage trac to github issues. Note that the
    issue numbers don't quite line up.
Commits on Nov 26, 2012
  1. @dcoutts

    Add 'cabal build [target]' feature

    dcoutts committed
    Allows users to specify what targets to build. It builds the given
    target and the dependent components.
    
    Currently only component targets are fully supported. Currently using
    an individual module or file target will give a warning and it will
    build the whole component the module or file belongs to.
Commits on Nov 3, 2012
  1. @Peaker

    hlint police

    Peaker committed
  2. @Peaker

    Use Data.List ( intercalate ) which is exported for more than the las…

    Peaker committed
    …t 3 years instead of reimplementing it all over the place
Commits on Aug 30, 2012
  1. @merijn

    Fixed configure script location detection of autoconf.

    merijn committed
    The autoconf generated configure script tries to automatically determine the
    location of the configure script. If the name (argv[0]) of the configure script
    does not include a path separator autoconf will *first* scan the path for a
    file named "configure" before defaulting to the current directory.
    
    Cabal previously called configure by doing "sh configure" this will result in
    it finding any files named "configure" in the path and using the location of
    that file as the basedir to look for (amongst other things) C sources. The
    result is that any C sources in the unpacked cabal directories are not found,
    resulting in configure/build failures for all such packages (e.g. unix-time)
    and all packages depending on those.
    
    Changing cabal to call "sh ./configure" will avoid this behaviour, the presence
    of a path separator causes autoconf to default to checking the current
    directory *first*.
Commits on Oct 23, 2011
  1. @igfoo

    Rename the cabal directory to Cabal

    igfoo committed
    Makes things a little simpler in GHC's build system if libraries are in
    the same directory as their name.
Commits on Oct 13, 2011
  1. @tibbe

    Implement 'cabal bench' command

    tibbe committed
    The only implement benchmark interface so far is exitcode-stdio-1.0,
    which forwards the output of the benchmark executable being run to the
    parent process' stdout/stderr.
Something went wrong with that request. Please try again.