Separate the OS/Arch classifiation used for different purposes We have to classify System.Info.{os,arch} strings into the OS and Arch enums. For that purpose we have to be quite permissive since there are lots of ailases that the various Haskell implementations use. However for parsing os and arch names in .cabal files we'd prefer to use canonical names, though we do have to allow the couple aliases already in common use. |
|
More...
|
about 16 years ago
|
Arch and OS names were previously allowed to contain "_-", restore that. That is the arch and os strings in conditionals in .cabal files, like: if arch(x86_64) Previously the parser used isAlphaNum c || (c `elem` "_-"). This is crucial for arch names like "x86_64". So make the new parser for OS and Arch types use the same string parser as before (there is a string parse part and a separate classification of known OS/Arch values). |
|
More...
|
about 16 years ago
|
allow underscores in arch names |
|
More...
|
about 16 years ago
|
Bump version to 1.3.9 |
|
More...
|
about 16 years ago
|
It appears that the ReadS variants reqArg'' and optArg'' are unused |
|
More...
|
about 16 years ago
|
Replace three separate copies of no_extra_flags with one version |
|
More...
|
about 16 years ago
|
help nhc98 to find Ix(inRange) |
|
More...
|
about 16 years ago
|
Remove the need for instance Functor ((->) r) I think. It's hard to test since with base as it is we cannot easily compile without that instance being in scope. |
|
More...
|
about 16 years ago
|
remove ugly nhc98 cpp+defaulting hack - use explicit typesig instead |
|
More...
|
about 16 years ago
|
cpp language pragmas required |
|
More...
|
about 16 years ago
|
help nhc98 to disambiguate class methods |
|
More...
|
about 16 years ago
|
disambiguate some imports |
|
More...
|
about 16 years ago
|
needs an import of non-H'98 instance Functor ((->) r) |
|
More...
|
about 16 years ago
|
help nhc98 decipher ambiguous class methods |
|
More...
|
about 16 years ago
|
make indentation H'98 compliant |
|
More...
|
about 16 years ago
|
Use the new Text class all over Mostly just changing showVersion, showPackageId to display instead |
|
More...
|
about 16 years ago
|
Switch a few debug Show instances to use derived Show The pretty printer version should be using Text but I've left them as comments for the moment as they do not have corresponding parsers yet. |
|
More...
|
about 16 years ago
|
Use disp/display in a couple more places instead of show |
|
More...
|
about 16 years ago
|
Remove last uses of parseReadS One use was for parsing bools in the installed package info. We can go with the more liberal Text instance for that. The other use is for parsing Haskell strings in quoted string fields. So we keep it for that purpose but restrict the type and rename to parseHaskellString. |
|
More...
|
about 16 years ago
|
Add parseCompilerFlavorCompat and use it instead of parseReadS So it accepts the same valid values as parseReadS did, but doesn't fall over on unknown values, returning (OtherCompiler "the_name"). |
|
More...
|
about 16 years ago
|
Prserve case when parsing unknown/other enum values for OS,Arch and Compiler |
|
More...
|
about 16 years ago
|
Add warning about the use of ghc-options: -optl-Wl,-s |
|
More...
|
about 16 years ago
|
Check for unknown build-type, extensions, licenses and compilers |
|
More...
|
about 16 years ago
|
Parse extension names in .cabal files using Text rather than Read This means we can now parse unknown extensions without falling over. Indeed if the compiler supports the unknown extension then we can even successfully use it. This gives us some forwards compatability for new extensions. |
|
More...
|
about 16 years ago
|
Improve the warning message about unsupported extensions. That is, extensions the compiler does not support, as opposed to extensions that are unknown to Cabal. |
|
More...
|
about 16 years ago
|
Convert a couple uses of read/reads in the GHC module Read the ghc --supported-languages list using simpleParse rather than reads. It now parses extensions that GHC recognises but Cabal does not as (UnknownExtension theExtensionName). For example this allows people to use the PArr extension which ghc currently supports but which is not a finalised registered extension. |
|
More...
|
about 16 years ago
|
Add Text instance for Extension and add UnknownExtension constructor The parse function is ~15x faster than using reads by using a simple hash table :: Array Char [(String, Extension)]. The hash function is then just 'head' -- the first letter of the extension name. |
|
More...
|
about 16 years ago
|
Remove another reminant of support for ghc-6.2 |
|
More...
|
about 16 years ago
|
Add Text instance for BuildType and add UnknownBuildType constructor Drop parseReadSQ as that was the last use of it. Still need to add a build warning for UnknownBuildTypes |
|
More...
|
about 16 years ago
|
FIX #166 by setting the right buildDir when preprocessing in sdist |
|
More...
|
about 16 years ago
|