summaryrefslogtreecommitdiff
path: root/utils/hpc/HpcMarkup.hs
Commit message (Collapse)AuthorAgeFilesLines
* Add explicit import lists to Data.List importsOleg Grenrus2021-01-291-1/+1
| | | | | | | | | | | | | Related to a future change in Data.List, https://downloads.haskell.org/ghc/8.10.3/docs/html/users_guide/using-warnings.html?highlight=wcompat#ghc-flag--Wcompat-unqualified-imports Companion pull&merge requests: - https://github.com/judah/haskeline/pull/153 - https://github.com/haskell/containers/pull/762 - https://gitlab.haskell.org/ghc/packages/hpc/-/merge_requests/9 After these the actual change in Data.List should be easy to do.
* Fix more typosBrian Wignall2019-12-021-1/+1
|
* hpc: Fix encoding issues. Add test for and fix #17073Alexey Kuleshevich2019-11-191-25/+5
| | | | | | | | | | | | | * 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 <ben@smart-cactus.org>
* Add missing Semigroup instances in utils/{hpc,runghc}Herbert Valerio Riedel2017-08-311-4/+5
| | | | This is a follow-up to c0feee90118333dac817cfad6f2dedc0a886d1bd
* hpc: Output a legend at the top of output filesSantiago Munin2017-05-041-0/+7
| | | | | | | | | | | | Updates hpc submodule. Reviewers: austin, bgamari Subscribers: rwbarton, thomie GHC Trac Issues: #11799 Differential Revision: https://phabricator.haskell.org/D3465
* hpc: use `takeDirectory` instead of `dropWhileEnd (/= '/')`Thomas Miedema2015-09-121-4/+1
| | | | This fixes some hpc tests on Windows. Update submodule hpc.
* hpc: use System.FilePath.(</>) instead of (++)Thomas Miedema2015-03-171-4/+5
| | | | | | | | | | | | | | | | 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
* Add configurable verbosity level to hpcYuras Shumovich2015-02-171-2/+5
| | | | | | | | | | | | | | | | | | | Summary: All commands now have `--verbosity` flag, so one can configure cabal package with `--hpc-options="--verbosity=0"`. Right now it is used only in `hpc markup` to supress unnecessary output. Reviewers: austin Reviewed By: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D660 GHC Trac Issues: #10091
* Use dropWhileEndLE p instead of reverse . dropWhile p . reverseDavid Feuer2014-10-021-6/+19
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Revert "Use dropWhileEndLE p instead of reverse . dropWhile p . reverse"Austin Seipp2014-10-021-19/+6
| | | | This reverts commit 2a8856884de7d476e26b4ffa829ccb3a14d6f63e.
* Use dropWhileEndLE p instead of reverse . dropWhile p . reverseDavid Feuer2014-10-011-6/+19
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Export `Monoid(..)`/`Foldable(..)`/`Traversable(..)` from PreludeHerbert Valerio Riedel2014-09-211-1/+0
| | | | | | | | | | | | | | | This finally exposes also the methods of these 3 classes in the Prelude in order to allow to define basic class instances w/o needing imports. This almost completes the primary goal of #9586 NOTE: `fold`, `foldl'`, `foldr'`, and `toList` are not exposed yet, as they require upstream fixes for at least `containers` and `bytestring`, and are not required for defining basic instances. Reviewed By: ekmett, austin Differential Revision: https://phabricator.haskell.org/D236
* Add a --reset-hpcdirs flag to hpcIan Lynagh2012-11-231-0/+1
|
* Write locale character encoding to hpc html report (#5006)Bas van Dijk2012-07-161-3/+19
| | | | This allows the correct interpretation of Unicode characters by the browser.
* Follow the removal of the Show superclass of NumIan Lynagh2011-10-121-1/+1
|
* Remove redundant HpcMap and HpcSet wrappers around Data.{Map,Set}Ian Lynagh2010-12-161-1/+1
|
* __GLASGOW_HASKELL__ >= 604 is now always trueIan Lynagh2010-12-151-2/+0
|
* Whitespace onlyIan Lynagh2009-12-031-189/+189
|
* Tweak layout to work with alternative layout ruleIan Lynagh2009-11-291-1/+1
|
* Fixing directory creation to not create "" directories inside hpc report ↵andygill@ku.edu2008-09-161-1/+3
| | | | (harmless but needless)
* Fix Trac #2311: creates subdirs for package coverage informationandygill@ku.edu2008-09-151-10/+20
|
* Make some utils -Wall cleanIan Lynagh2008-08-211-24/+26
|
* Fix #2062: foldr1 problem in hpc toolandy@galois.com2008-01-261-13/+16
|
* updating hpc toolkitandy@galois.com2007-09-081-16/+3
| | | | | | The hpc overlay has been ported from hpc-0.4 The new API for readMix is now used.
* Fixing hpc to allow use of hash function to seperate source files on source pathandy@galois.com2007-09-071-1/+1
|
* hpc-tools: improving flag processing and help messages, small bug fixes.andy@galois.com2007-07-201-18/+19
|
* Warning Police: Unused importsMichael D. Adams2007-07-131-1/+0
|
* Fixing hpc tools for 6.2 and 6.4andy@galois.com2007-06-291-1/+5
|
* fixing creation of directory for html output; fixing html markup for 0% bars.andy@galois.com2007-06-271-5/+15
|
* Adding hpc tools, as a single program.andy@galois.com2007-06-251-0/+452