This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 06 Mar, 2015 1 commit
  2. 23 Feb, 2015 1 commit
  3. 17 Jan, 2015 1 commit
  4. 17 Jul, 2014 1 commit
  5. 24 Apr, 2014 3 commits
  6. 17 Apr, 2014 1 commit
    • Daniel Trstenjak's avatar
      More diff friendly pretty printing of cabal files · 1ecd69c7
      Daniel Trstenjak authored
      Added the new field constructor functions 'listFieldWithSep'
      and 'commaListFieldWithSep' to be able to define pretty printing
      for fields, where each value of the field is positioned on a new line.
      
      Which fields are nested is currently hard coded in the 'ppField' function.
      
      (cherry picked from commit e8d5ea25)
      1ecd69c7
  7. 16 Apr, 2014 1 commit
    • Daniel Trstenjak's avatar
      More diff friendly pretty printing of cabal files · e8d5ea25
      Daniel Trstenjak authored
      Added the new field constructor functions 'listFieldWithSep'
      and 'commaListFieldWithSep' to be able to define pretty printing
      for fields, where each value of the field is positioned on a new line.
      
      Which fields are nested is currently hard coded in the 'ppField' function.
      e8d5ea25
  8. 14 Apr, 2014 1 commit
  9. 12 Apr, 2014 1 commit
    • Daniel Trstenjak's avatar
      Fixed pretty printing of fields · fdf8afce
      Daniel Trstenjak authored
      The list constructors 'nestedListField' and 'nestedCommaListField'
      have been added and are now used for fields that should be pretty
      printed with nesting.
      fdf8afce
  10. 10 Apr, 2014 2 commits
  11. 08 Apr, 2014 1 commit
  12. 21 Mar, 2014 1 commit
  13. 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
  14. 02 Feb, 2014 1 commit
  15. 21 Feb, 2013 1 commit
  16. 20 Feb, 2013 1 commit
    • ttuegel's avatar
      Don't pretty-print unparseable test suite types. · ab9fe920
      ttuegel authored
      Issue #1202. The pretty printer was printing 'type: -' for empty test
      suite interfaces.  The empty test interface type is the result of
      parsing a branch in a conditional block where no type is explicitly
      specified (i.e., the type is inherited from a higher level or propagated
      up from a lower one).  Therefore, the pretty-printer should not print
      any 'type' field at all for test suites with an empty test interface
      type.
      ab9fe920
  17. 23 Oct, 2011 1 commit
  18. 19 Jun, 2011 1 commit
  19. 10 Jan, 2011 1 commit
    • ttuegel's avatar
      Tracking enabled/disabled TestSuites in PackageDescription. · f0a2d5e3
      ttuegel authored
      This patch adds the 'testEnabled' field to TestSuite. It's 
      undesirable to track build status information in the static package 
      description, but there is no better solution at this time. This 
      patch has the side-effect of fixing several TODOs in 
      Distribution.Simple.Configure.
      f0a2d5e3
  20. 20 Oct, 2010 2 commits
  21. 11 Oct, 2010 1 commit
  22. 29 Sep, 2010 1 commit