This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 21 Mar, 2014 1 commit
  2. 01 Mar, 2014 1 commit
    • Daniel Trstenjak's avatar
      More diff friendly pretty printing of cabal files · 73dd1c26
      Daniel Trstenjak authored
      Now the 'fieldGet' function of 'FieldDescr' does the
      whole pretty printing of the field. Previously only the
      values have been pretty printed by 'fieldGet' and the
      name of the field with the colon have been printed
      in the 'PrettyPrint' module.
      
      But this separation made it more difficult to handle the
      pretty printing of fields differently, because some fields
      should be just printed in one lines and others - having several
      values - should be printed nested with each value on a new line.
      
      This difference in the printing of the fields is now handled by
      the 'FieldDescr' constructor functions in 'ParseUtils'.
      
      Now the 'listField' and 'commaListField' functions create 'FieldDescr'
      that nest their values and all other functions create one line
      for the whole field.
      73dd1c26
  3. 25 Feb, 2014 1 commit
  4. 22 Feb, 2014 1 commit
  5. 18 Feb, 2014 4 commits
  6. 16 Feb, 2014 2 commits
  7. 15 Feb, 2014 2 commits
  8. 14 Feb, 2014 1 commit
  9. 12 Feb, 2014 6 commits
  10. 10 Feb, 2014 3 commits
  11. 09 Feb, 2014 8 commits
  12. 08 Feb, 2014 4 commits
  13. 07 Feb, 2014 5 commits
  14. 05 Feb, 2014 1 commit
    • Duncan Coutts's avatar
      Put quotes around program names in some error messages · e1052c3e
      Duncan Coutts authored
      One user reported being rather confused by the message:
      
        cabal: The program happy version >=1.18.5 is required but it could
        not be found.
      
      I guess they must have been wondering what a happy version was. They
      said that this is much clearer:
      
        cabal: The program 'happy' version >=1.18.5 is required but it could
        not be found.
      
      So that's what we now do.
      e1052c3e