This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 26 Oct, 2016 12 commits
    • Oleg Grenrus's avatar
      Lens additions · ee5e64fb
      Oleg Grenrus authored
      ee5e64fb
    • Oleg Grenrus's avatar
      Lens experiment · c80b870f
      Oleg Grenrus authored
      c80b870f
    • Oleg Grenrus's avatar
      Skip less files in parser-tests · 1b24aa36
      Oleg Grenrus authored
      1b24aa36
    • Oleg Grenrus's avatar
      PVP alex bound · 0ee50bc6
      Oleg Grenrus authored
      0ee50bc6
    • Oleg Grenrus's avatar
      Support new cabal repo conf format in parser-tests · 9f1ed6b3
      Oleg Grenrus authored
      - Also print name of index file
      9f1ed6b3
    • Oleg Grenrus's avatar
      Deal with non-utf8 cabal files · 0794c350
      Oleg Grenrus authored
      - encode . lenientDecode prepass
      - test on 01-index.tar.gz
      - few additional files are failing for weird reason
      0794c350
    • Oleg Grenrus's avatar
      Test parsers on travis, fix haddock · bac3f60d
      Oleg Grenrus authored
      bac3f60d
    • Oleg Grenrus's avatar
    • Oleg Grenrus's avatar
      726112d6
    • Oleg Grenrus's avatar
      c87d5b5b
    • Oleg Grenrus's avatar
      Hide StructDiff behind the flag · 722e030f
      Oleg Grenrus authored
      722e030f
    • Oleg Grenrus's avatar
      Parsec parser · 512db606
      Oleg Grenrus authored
      - Initial import of stuff
      - Add hackage index parsing test for parsec
      - We can parse name and version
      - Add generics-sop dep
      - Use D.C.Prelude
      - Add StructDiff
      - Fix integral
      - Add Parsec -class
      - Add licence parsing
      - Free text fields (parsed as ascii atm)
      - Better StructDiff
      - Parsec BuildType
      - Implement VersionRange parser
      - Section parsing first steps
      - Sketch parseCondTree
      - more sec parsing
      - Module name
      - hs-source-dirs
          ::: composition/0.1/composition.cabal
          ::: composition/0.2/composition.cabal
          ::: composition/0.2.1/composition.cabal
          ::: composition/1.0.0.0/composition.cabal
      - PError (Position 20 1) "Unknown section: \"source-repository\""
      - Parses condition
      - Add some notes, address few comments
      - Install alex on linux travis
      - Make ParseResult strict state monad
      - Use withinVersion
      - No warnings
      - Move to Distribution.PackageDescription.Parsec.FieldDescr
      - extensions
      - SourceRepo (sans kind) parsing
      - RepoKind
      - Few more stuff
      - Add Distribution.Compat.Parsec
      - We can parse all 'composition*' packages cabal files \o/
      - fromUtf8BS
      - Clean up abit
      - More stuff
      - And more stuff
      - Traling whitespace :(
      - Executables
      - Benchmarks
      - spaceListField
      - Parse flag sections
      - a ~ Char,
      - tested with
      - package description x-fields
      - Conditions
      - reformat
      - Handle old syntax
      - More fields
      - More stuff
      - ^co ok,
      - more stuff
      - ^c ok
      - some of hackage ok
      - A-Z ok
      - Works [A-al)
      - to the h
      - rest of Hackage
      - Introduce parsec -flag
      - Count warnings
      - Verify we get not less warnings from parsec parser
      - fixup! Introduce parsec -flag
      - Warn about old/new syntax and cabal-version
      - Invalid UTF warning
      - Deprecated fields
      - Fix meta
      - Move transformers dep under parsec flag
      - Add parsec travis job
      512db606
  2. 25 Oct, 2016 2 commits
    • Edward Z. Yang's avatar
      Drop version check when resolving package names. · af24cefe
      Edward Z. Yang authored
      
      
      In #4017, hvr reported that when he used --allow-older/--allow-newer,
      there was an assert failure in toConfiguredComponent.  Indeed
      the problem was that toConfiguredComponent was testing version
      ranges of build-depends to determine which package to select, but
      there was no satisfying one (since the build-depends field had
      not been updated.)
      
      After thinking about this for a bit, it seemed a bit bogus for
      us to be doing another version check at this late phase; we
      already picked dependencies earlier in the configuration process.
      So I decided to drop it.
      
      To drop it, however, I needed to remove support for a feature (discussed
      in #4020), which uses version ranges to disambiguate whether or not a
      dependency is on an external package or an internal package.  This
      feature doesn't seem to be very useful.  If someone asks, I'll
      check on Hackage to see if anyone is using it.
      
      Also added some useful extra debug info.
      
      Fixes #4020 and #4017
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      af24cefe
    • Edward Z. Yang's avatar
      Force gen-extra-source-files to use pre-installed library. · c8ac9dac
      Edward Z. Yang authored
      
      
      Without a package qualified import, runhaskell will attempt to
      load all of Cabal from source, because the files happen to
      be named in the same way as the import requests.  That leads
      to very slow runtimes.
      
      Fixes #4007.
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      c8ac9dac
  3. 24 Oct, 2016 1 commit
  4. 23 Oct, 2016 1 commit
    • Erik de Castro Lopo's avatar
      Fix CPP usage · d916298f
      Erik de Castro Lopo authored
      The code had a mixtire of `#ifdef mingw32_HOST_OS` and `#if`. The later
      works but is not really correct. GHC HEAD has just got a new warning flag
      `-Wcpp-undef` which will warn on `#if` used with an undefined identifier.
      Since we want to turn that on in the GHC build system we need to fix cabal
      first.
      d916298f
  5. 21 Oct, 2016 3 commits
  6. 20 Oct, 2016 3 commits
    • Edward Z. Yang's avatar
      Only consider dependencies in closure when computing -I on hsc2hs · b736896a
      Edward Z. Yang authored
      
      
      Previously, we unconditionally blasted in all packages, even
      if our component didn't actually depend on them.
      This fixes #2971.
      
      Also, added a test T2971a which is the opposite problem; previously
      we didn't bring in include-dirs from internal libraries.  That
      was fixed by the previous commit.
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      b736896a
    • Edward Z. Yang's avatar
      0d15edef
    • Christiaan Baaij's avatar
      Add `--dynlibdir` · d2da6558
      Christiaan Baaij authored
      `--dynlibdir` indicates the directory in which dynamic libraries
      are installed. By default this setting is equal to:
      
      `$libdir/$abi`
      
      The static libraries will still end up in:
      
      `$libdir/$libsubdir`
      
      With `$libsubdir/$abi` as the default directory for dynamic
      libraries, dynamic libraries will by default end up in a
      single shared directory (per package database). This has the
      potential to reduce start-up times for dynamically linked
      executable as only one RPATH per package database will be
      needed.
      
      This commit uses the functionality defined in
      
      https://phabricator.haskell.org/D2611
      
      to tell GHC's > 8.0.1 package database that dynamic libraries
      are copied to the directories mentioned in the
      
      `dynamic-library-dirs`
      
      field.
      d2da6558
  7. 19 Oct, 2016 3 commits
  8. 18 Oct, 2016 13 commits
  9. 17 Oct, 2016 2 commits