1. 04 Oct, 2015 1 commit
  2. 03 Oct, 2015 1 commit
  3. 07 Apr, 2015 1 commit
  4. 13 Jan, 2015 1 commit
    • GregWeber's avatar
      add -th-file which generates a th.hs file · 07ace5c2
      GregWeber authored
      Summary:
      see Trac #8624
      
      similar functionality is now available
      with -ddump-to-file -ddump-splices
      
      However, users are already accustomed to -ddump-splices
      having a particular format, and this format is not completely valid code
      The goal of -th-file is to dump valid Haskell code
      
      Additionally, the convention of -ddump-to-file is to name the file after
      the flag, so the file is .dump-splices
      Given that the goal of the new flag is to generate valid Haskell,
      The extension should be .hs
      
      Additionally, -ddump-to-file effects all other dump flags
      
      Test Plan:
      look at the output of using the -th-file flag
      and compare it to the output of using -ddump-to-file and -ddump-splices
      I want to add test cases, but just need some pointers on getting started there
      
      Reviewers: thomie, goldfire, simonpj, austin
      
      Reviewed By: simonpj, austin
      
      Subscribers: thomie, carter
      
      Differential Revision: https://phabricator.haskell.org/D518
      
      GHC Trac Issues: #8624
      07ace5c2
  5. 27 Nov, 2014 1 commit
    • Herbert Valerio Riedel's avatar
      Embed Git commit id into `ghc --info` output · 73e5e2f8
      Herbert Valerio Riedel authored
      Since we switched to a Git submodule based GHC Git repo, `ghc.git`'s
      commit id uniquely identifies the state of the GHC source-tree. So
      having that information embedded into the `ghc` executable provides
      valuable information to track accurately (especially when created by
      buildbots) from which source-tree-state a given `ghc` snapshot
      (distribution) was generated.
      
      So this commit adds a new field `"Project Git commit id"` to the
      `ghc --info` meta-data containing the `./configure`-time Git commit id
      as reported by `git rev-parse HEAD`.
      
      This field can also be queried with `ghc --print-project-git-commit-id`.
      
      For source distributions, the file `GIT_COMMIT_ID` is created (with some
      sanity checking to detect stale commit ids, as that would render this
      information rather useless)
      
      Reviewed By: austin
      
      Differential Revision: https://phabricator.haskell.org/D528
      73e5e2f8
  6. 07 Nov, 2014 1 commit
  7. 05 Oct, 2014 1 commit
    • Herbert Valerio Riedel's avatar
      Implement `MIN_VERSION_GLASGOW_HASKELL()` macro · 3549c952
      Herbert Valerio Riedel authored
      This exposes the `cProjectPatchLevel{1,2}` value at the CPP level to
      allow it to be used in CPP conditionals. Concretely, GHC 7.10.2.20150623
      would result in
      
        #define __GLASGOW_HASKELL__             710
        #define __GLASGOW_HASKELL_PATCHLEVEL1__ 2
        #define __GLASGOW_HASKELL_PATCHLEVEL2__ 20150623
      
      while GHC 7.10.3 results in
      
        #define __GLASGOW_HASKELL__             710
        #define __GLASGOW_HASKELL_PATCHLEVEL1__ 3
      
      and finally GHC 7.9.20141009 results in
      
        #define __GLASGOW_HASKELL__             709
        #define __GLASGOW_HASKELL_PATCHLEVEL1__ 20141009
      
      As it's error-prone to properly express CPP conditionals for testing GHC
      multi-component versions, a new macro `MIN_VERSION_GLASGOW_HASKELL()` is
      provided (also via the new CPP include file `ghcversion.h`)
      
      Finally, in order to make it easier to define the new CPP macro
      `MIN_VERSION_GLASGOW_HASKELL()`, a new default-included
      `include/ghcversion.h` is used for the new CPP definitions.
      
      Reviewed By: ekmett, austin, #ghc
      
      Differential Revision: https://phabricator.haskell.org/D66
      3549c952
  8. 28 Aug, 2014 1 commit
  9. 12 Jul, 2014 1 commit
  10. 04 Jul, 2014 1 commit
  11. 25 Jun, 2014 1 commit
    • Herbert Valerio Riedel's avatar
      Convert loose sub-repos into proper submodules (re #8545) · db19c665
      Herbert Valerio Riedel authored
      Specifically, the following sub-repos/modules are converted:
      
       - libffi-tarballs
       - libraries/array
       - libraries/deepseq
       - libraries/directory
       - libraries/dph
       - libraries/filepath
       - libraries/haskell2010
       - libraries/haskell98
       - libraries/hoopl
       - libraries/hpc
       - libraries/old-locale
       - libraries/old-time
       - libraries/parallel
       - libraries/process
       - libraries/stm
       - libraries/unix
       - nofib
       - utils/hsc2hs
      
      N.B. ghc-tarballs is not converted as it will probably be handled
           differently in the future.
      Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
      db19c665
  12. 09 May, 2014 1 commit
  13. 22 Apr, 2014 1 commit
  14. 23 Mar, 2014 1 commit
  15. 20 Feb, 2014 1 commit
  16. 14 Jan, 2014 1 commit
  17. 05 Aug, 2013 1 commit
  18. 09 Jun, 2013 1 commit
  19. 03 Feb, 2013 1 commit
  20. 02 Dec, 2012 1 commit
  21. 25 Nov, 2012 1 commit
  22. 29 Oct, 2012 3 commits
  23. 28 Oct, 2012 2 commits
  24. 07 May, 2012 1 commit
  25. 15 Jan, 2012 1 commit
    • chak@cse.unsw.edu.au.'s avatar
      Fix vectorisation of classes · b68bbd86
      chak@cse.unsw.edu.au. authored
      - Make sure that we have no implicit names in ifaces
      - Any vectorisation info makes a module an orphan module
      - Allow 'Show' in vectorised code without vectorising it for the moment
      b68bbd86
  26. 13 Jan, 2012 1 commit
  27. 29 Jun, 2011 1 commit
  28. 03 Jun, 2011 1 commit
  29. 23 Apr, 2011 1 commit
  30. 20 Apr, 2011 1 commit
  31. 19 Apr, 2011 1 commit
  32. 04 Apr, 2011 1 commit
  33. 02 Apr, 2011 1 commit
  34. 31 Mar, 2011 1 commit
  35. 16 Jan, 2011 1 commit
    • Iavor S. Diatchki's avatar
      Add .gitignore. · a38b5101
      Iavor S. Diatchki authored
      This is already on the main branch but I chose the base for my branch
      at a point before it was created.  I did this, because this  version of
      the repo (roughly) matches the version which was in darcs, when I last
      merged my changes so, hopefully, I can import my darcs patches without
      problems.
      a38b5101
  36. 14 Jan, 2011 1 commit