1. 20 Nov, 2019 1 commit
    • Alexey Kuleshevich's avatar
      hpc: Fix encoding issues. Add test for and fix #17073 · ef8a08e0
      Alexey Kuleshevich authored
      * Make sure files are being read/written in UTF-8. Set encoding while writing
        HTML output. Also set encoding while writing and reading .tix files although
        we don't yet have a ticket complaining that this poses problems.
      * Set encoding in html header to utf8
      * Upgrade to new version of 'hpc' library and reuse `readFileUtf8`
        and `writeFileUtf8` functions
      * Update git submodule for `hpc`
      * Bump up `hpc` executable version
      Co-authored-by: Ben Gamari's avatarBen Gamari <ben@smart-cactus.org>
      ef8a08e0
  2. 31 Aug, 2017 1 commit
  3. 04 May, 2017 1 commit
  4. 12 Sep, 2015 1 commit
  5. 17 Mar, 2015 1 commit
    • thomie's avatar
      hpc: use System.FilePath.(</>) instead of (++) · 801f4b98
      thomie authored
      Summary:
      BAD: "." ++ "/" ++ "/absolute/path" == ".//absolute/path"
      GOOD: "." </> "/absolute/path" == "/absolute path"
      
      Also replace `++ ".ext"` with `<.> "ext"`. Although it doesn't fix any
      bugs in this instance, it might in some other. As a general rule it's
      better not to use (++) on FilePaths.
      
      Reviewed By: austin, hvr
      
      Differential Revision: https://phabricator.haskell.org/D703
      
      GHC Trac Issues: #10138
      801f4b98
  6. 17 Feb, 2015 1 commit
  7. 02 Oct, 2014 2 commits
  8. 01 Oct, 2014 1 commit
    • David Feuer's avatar
      Use dropWhileEndLE p instead of reverse . dropWhile p . reverse · 2a885688
      David Feuer authored
      Summary: Using `dropWhileEndLE` tends to be faster and easier to read
      than the `reverse . dropWhile p . reverse` idiom. This also cleans up
      some other, nearby, messes. Fix #9616 (incorrect number formatting
      potentially leading to incorrect numbers in output).
      
      Test Plan: Run validate
      
      Reviewers: thomie, rwbarton, nomeata, austin
      
      Reviewed By: nomeata, austin
      
      Subscribers: simonmar, ezyang, carter, thomie
      
      Projects: #ghc
      
      Differential Revision: https://phabricator.haskell.org/D259
      
      GHC Trac Issues: #9623, #9616
      
      Conflicts:
      	compiler/basicTypes/OccName.lhs
      2a885688
  9. 21 Sep, 2014 1 commit
  10. 23 Nov, 2012 1 commit
  11. 16 Jul, 2012 1 commit
  12. 12 Oct, 2011 1 commit
  13. 16 Dec, 2010 1 commit
  14. 15 Dec, 2010 1 commit
  15. 03 Dec, 2009 1 commit
  16. 29 Nov, 2009 1 commit
  17. 16 Sep, 2008 1 commit
  18. 15 Sep, 2008 1 commit
  19. 21 Aug, 2008 1 commit
  20. 26 Jan, 2008 1 commit
  21. 08 Sep, 2007 1 commit
  22. 07 Sep, 2007 1 commit
  23. 20 Jul, 2007 1 commit
  24. 13 Jul, 2007 1 commit
  25. 29 Jun, 2007 1 commit
  26. 27 Jun, 2007 1 commit
  27. 25 Jun, 2007 1 commit