This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- Dec 25, 2017
-
-
Oleg Grenrus authored
-
Oleg Grenrus authored
InstalledPackageInfo parser roundtrip test
-
Oleg Grenrus authored
-
Oleg Grenrus authored
Warn if -- token is found. Don't warn if it's "--".
-
Oleg Grenrus authored
Resolves #2681 Cabal files don't have trailing line comments. In many fields they simply cause parse errors, but e.g. in extra-source-files virtually everything is accepted. As there is simple work around if people actually want double-dash, let's warn about bare one.
-
Oleg Grenrus authored
Leading comma 2
-
- Dec 24, 2017
-
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
Oleg Grenrus authored
Tag Backpack fields (mixins, signatures) to `availableSince [2,0]`. This "fixes" https://github.com/haskell/cabal/issues/4448, as fields are recognised, warned, but parsed as empty if cabal-version < 2.0 (actual cut-off is ! (>= 1.25). For example, a file with cabal-version: >=1.10 library: mixins: foo-indef requires (Foo42 as FooImpl) will be accepted, yet warned, and parsed `mixins` in `BuildInfo` will be an empty list. Also availableSince is removed from `build-tool-depends`, as we **want** to parse (and not warn) it in old Cabal files. It can be thought as added retrospectively to old specs, but old `Cabal` s don't know how to use it.
-
Oleg Grenrus authored
CabalSpecVersion type-class will allow to gather per-spec conditionals. Currently it's used for selecting parsers / grammatical structure. Leading (or trailing commas) for CommaFSep/CommaVSep fields, i.e. fields with mandatory comma are (atm): - build-depends - build-tool-depends - build-tools - mixins - pkgconfig-depends - reexported-modules - setup-depends
-
Oleg Grenrus authored
[WIP] Distribution.SPDX.LicenseId generation
-
Oleg Grenrus authored
Distribution.SDPX.LicenseId and Distribution.SDPX.LicenceExceptionId are generated.
-
Mikhail Glushenkov authored
Enable 'make lexer' in travis-meta.
-
Mikhail Glushenkov authored
-
- Dec 22, 2017
-
-
Mikhail Glushenkov authored
Kill trailing whitespaces in `.cabal` file emitted by `cabal init`
-
Herbert Valerio Riedel authored
`cabal init` currently generates trailing whitespaces; this patch simply adds a final post-processing step filtering out any such trailing whitespace.
-
Mikhail Glushenkov authored
Changes to `cabal check` for `-O0` with tests or benchmarks.
-
Mikhail Glushenkov authored
cabal-install: Remove support for building with GHC < 7.10.
-
Dave Laing authored
This is to address #4551.
-
Mikhail Glushenkov authored
-
- Dec 21, 2017
-
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
GHC 7.8.4 was released in Dec 2014, so this is in accordance with our support policy. NB: doesn't affect lib:Cabal. Fixes #4856.
-
Mikhail Glushenkov authored
[ci skip]
-
Mikhail Glushenkov authored
Adds --enable-tests and --enable-benchmarks to 'cabal fetch'.
-
- Dec 20, 2017
-
-
Mikhail Glushenkov authored
Travis: use 8.2.2 to compile configurations with expensive asserts.
-
- Dec 19, 2017
-
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
Unbreak the build with directory < 1.2.3.0.
-
Mikhail Glushenkov authored
Solver still sometimes picks 1.6.14 for some reason, and that version is broken on older GHCs.
-
Mikhail Glushenkov authored
See https://github.com/haskell/cabal/pull/4950#issuecomment-352753882 for context.
-
This is to address #1375. Previously they were updated in the post install phase, which would mean that the sources did not have their timestamps updated unless the package being installed completed successfully. This change moves the updating of the timestamps to the end of the install phase, so that the add-source packages that are successfully installed get their timestamps updated regardless of the overall outcome of the installation.
-
Mikhail Glushenkov authored
[ci skip]
-
Mikhail Glushenkov authored
[ci skip]
-
Mikhail Glushenkov authored
[ci skip]
-
Resolves: #4444
-
Mikhail Glushenkov authored
Solver: Deduplicate flags and stanzas in DependencyReason.
-
Mikhail Glushenkov authored
The issue is fixed now.
-
Mikhail Glushenkov authored
Fix NondecreasingIndentation filtering
-
Mikhail Glushenkov authored
-
- Dec 18, 2017
-
-
Herbert Valerio Riedel authored
Improve `build-type` defaulting (see 9fb03d73 and #4958 for details)
-