This project is mirrored from https://github.com/haskell/hsc2hs. Pull mirroring updated .
  1. 18 Oct, 2018 1 commit
  2. 17 Oct, 2018 2 commits
  3. 28 Aug, 2018 3 commits
  4. 01 Jul, 2018 2 commits
  5. 18 Jun, 2018 3 commits
  6. 03 Jun, 2018 1 commit
  7. 10 May, 2018 1 commit
  8. 02 May, 2018 1 commit
    • Ryan Scott's avatar
      Travis: Test GHC 8.4.2 · 36769c3a
      Ryan Scott authored
      While I was in town, I also:
      
      * Added a cabal.project file
      * Updated .gitignore to include cabal new-build artifacts
      36769c3a
  9. 04 Mar, 2018 4 commits
  10. 26 Feb, 2018 1 commit
  11. 24 Feb, 2018 1 commit
  12. 22 Feb, 2018 2 commits
    • Moritz Angermann's avatar
      Update travis.yml and tests · 12162e6e
      Moritz Angermann authored
      update travis.yml to not try to build the testsuite on 7.0 and 7.2
      which won't work, because the dependencies 'call-stack' depends
      on base >= 4.5, which is a dependency of hspec-core.
      
      Also updates the assembly files, to drop the `\n` test, which might
      end up as `\12`, as `\12`, `\x0a` and `\n`, testing this properly
      would require some form of normalization, which we don't have yet.
      12162e6e
    • Moritz Angermann's avatar
      Adds tests; more robust logic. · 26161c31
      Moritz Angermann authored
      26161c31
  13. 21 Feb, 2018 5 commits
  14. 30 Nov, 2017 1 commit
  15. 20 Nov, 2017 1 commit
  16. 19 Nov, 2017 1 commit
    • Moritz Angermann's avatar
      Add support for relative lookup of template-hsc.h (#2) · 9c13b192
      Moritz Angermann authored
      If the `IN_GHC_TREE` CPP macro is defined (controlled by the `in-ghc-tree` cabal flag),
      as a last resort, we also try to locate the template relative to the location of the currently
      executed `hsc2hs`. Note that this is a hack to work around
      only partial relocatable support in cabal, and is here to allow the `hsc2hs`
      built and shipped with ghc to be relocatable with the ghc
      binary distribution it ships with.
      
      Note that on Windows, `getExecutablePath` doesn't yet operate correctly
      in the presence of symlinks; but this should note have any detrimental
      effects. This will be fixed/improved in future `base` version.
      9c13b192
  17. 28 Oct, 2017 2 commits
  18. 21 Oct, 2017 1 commit
  19. 29 Sep, 2017 1 commit
    • Moritz Angermann's avatar
      Build utilities with the bootstrap compiler when cross compiling · ecdac062
      Moritz Angermann authored
      This should fix Trac #14297.  When building a cross compiler, we have rather little use
      of utilities that do not run on the host, where the compiler runs. As such we should
      build the utilities with the bootstrap (stage 0) compiler rather than witht he
      in-tree (stage 1) compiler when CrossCompiling.
      
      This used to results in the utilities we ship in the binary distribution to be built for
      the wrong host.  This diff tries to rectify the situation and allow the binary distribution
      to contain the utilities for the host when CrossCompiling.
      
      See also https://phabricator.haskell.org/D4048
      ecdac062
  20. 26 Apr, 2017 2 commits
  21. 21 Apr, 2017 1 commit
  22. 15 Mar, 2017 2 commits
    • Bartosz Nitka's avatar
      Make hsc_alignment work in clang · d7e49a6d
      Bartosz Nitka authored
      Summary:
      With the old definition clang gives this error:
      ```
      error: '(anonymous struct at example.cpp:15:3)'
        cannot be defined in a type specifier
      ```
      This makes it work under clang.
      
      Test Plan:
      Test with https://godbolt.org/g/kIBwyP and look at the
      assembly.
      
      Reviewers: O25 HSC2HS, hvr, austin, bgamari, mpickering
      
      Reviewed By: bgamari
      
      Subscribers: simonmar
      
      Differential Revision: https://phabricator.haskell.org/D3346
      d7e49a6d
    • Rufflewind's avatar
      Track column numbers · df6b31d7
      Rufflewind authored
      Summary:
      Keep track of column numbers and inform GHC whenever the column number
      could be potentially desynchronized from the original source code.  This
      should fix GHC #13388 on Trac.
      
      Test Plan: validate
      
      Reviewers: O25 HSC2HS, hvr, bgamari
      
      Reviewed By: bgamari
      
      Differential Revision: https://phabricator.haskell.org/D3314
      df6b31d7
  23. 26 Jan, 2017 1 commit