This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 12 Mar, 2008 1 commit
  2. 10 Mar, 2008 2 commits
  3. 25 Feb, 2008 1 commit
    • Duncan Coutts's avatar
      Check for invalid UTF8 when parsing .cabal files · cf7baddf
      Duncan Coutts authored
      This assumes a permissive UTF8 decoder has inserted '\xfffd' as a replacement
      character. We should check strictly for errors when we decode instead, though
      it's nice to do that where we have some kind of error reporting infrastructure
      which is why I've added it to the parser for the moment. The current error
      message is not too bad, as it reports the line number.
      cf7baddf
  4. 24 Feb, 2008 1 commit
  5. 23 Feb, 2008 1 commit
  6. 15 Feb, 2008 1 commit
  7. 12 Feb, 2008 1 commit
  8. 11 Feb, 2008 2 commits
  9. 23 Jan, 2008 1 commit
  10. 08 Jan, 2008 1 commit
  11. 06 Sep, 2007 1 commit
  12. 05 Sep, 2007 1 commit
    • Duncan Coutts's avatar
      Rewrite the parser for the configuration structure to allow laout or braces · d95e4b59
      Duncan Coutts authored
      Joint work with Thomas Schilling.
      The sections and indeed fields (and if/else) can now use either explicit
      brace {} style layout or indentation eg:
      > library
      >   exposed-modules: Blah
      or
      > library {
      >   exposed-modules:
      > }
      layout style can be nested within explict braces style and vica versa.
      Also add some more checks and relax the tab checks.
      Unrecognised sections, like unrecognised fields, are not fatal errors,
      so we could add sections in future without breaking old cabal.
      d95e4b59
  13. 31 Aug, 2007 1 commit
  14. 25 Aug, 2007 1 commit
  15. 24 Aug, 2007 1 commit
  16. 03 Aug, 2007 1 commit
  17. 29 Jul, 2007 1 commit
    • Ian Lynagh's avatar
      Fix haddock markup · 0b06e400
      Ian Lynagh authored
      I haven't checked that it looks right, but it is now accepted by haddock.
      0b06e400
  18. 28 Jul, 2007 1 commit
  19. 23 Jun, 2007 1 commit
  20. 18 Jun, 2007 1 commit
  21. 13 Jun, 2007 4 commits
  22. 29 May, 2007 1 commit
  23. 28 May, 2007 1 commit
  24. 21 May, 2007 1 commit
  25. 11 Mar, 2007 1 commit
  26. 14 Jan, 2007 1 commit
    • Simon Marlow's avatar
      Refactorings only · 49e3cdae
      Simon Marlow authored
      Here are a batch of refactorings to clean up parsing and parts of the
      simple build system.  This patch originated in a patch sent to
      cabal-devel@haskell.org with an intial implementation of
      configurations.  Since then we decided to go a different route with
      configurations, so I have separated the refactoring from the
      configurations patch.
      
      At this point, 2 tests fail for me, but I get the same 2 failures
      without this patch.
      49e3cdae
  27. 11 Jan, 2007 1 commit
    • Ross Paterson's avatar
      add a Build-Type field, and use it in setupWrapper · cb7aa1ef
      Ross Paterson authored
      As discussed on the libraries list (Nov 2006), add a field Build-Type
      which can be used to declare that this package uses one of the boilerplate
      setup scripts.  This allows setupWrapper (used by cabal-setup and
      cabal-install) to bypass the setup script in this case and perform
      the setup actions itself.
      cb7aa1ef
  28. 20 Nov, 2006 1 commit
  29. 27 Aug, 2006 1 commit
  30. 01 Feb, 2006 1 commit
  31. 05 Dec, 2005 1 commit
    • ijones's avatar
      check for correct cabal version during parsing · 8be4bb77
      ijones authored
      I throw a parse error if this package has the wrong cabal version.
      This is so that the user can get this error before getting an error
      for eg. an unknown field.  Also check it in the sanity checker.
      
      I just hard-code the cabal version in the source, it would be nicer if
      we got it from the .cabal file.  cabal could include the version in
      the cpp flags, but cabal's setup file needs to build without cabal, so
      that wouldn't actually work for us ahem.
      8be4bb77
  32. 16 Aug, 2005 1 commit
  33. 30 Jul, 2005 1 commit
    • ijones's avatar
      lots of cvs changes from Ross · 580183e0
      ijones authored
        tweak SHGetFolderPath
        preprocess: Hugs+MinGW: remove special case
        test *_HOST_OS (as well as *_TARGET_OS, which is there for old GHC's)
        take care of string literals while stripping comments
        rearrange so that we print "Compiling FFI stubs" at most once
        only run ffihugs on Main module if required
        add comment about older Windows versions
        Hugs only: avoid SHGetFolderPath for now
        convert input file paths to platform form (from Brian Smith)
        convert paths to native form at entry
        rename --builddir as --scratchdir to avoid clash with autoconf --build flag.
      
        doc: consolidate descriptions of preprocessors
      580183e0
  34. 19 Jul, 2005 1 commit
  35. 16 Jul, 2005 1 commit