Skip to content
Snippets Groups Projects
  1. Nov 28, 2013
  2. Nov 15, 2013
  3. Oct 27, 2013
  4. Oct 26, 2013
  5. Oct 25, 2013
  6. Oct 17, 2013
  7. Oct 12, 2013
    • Darin Morrison's avatar
      Fix mkdirhier.sh on OS X 10.9 (#8139) · feb76385
      Darin Morrison authored
      
      Mac OS X 10.9 mkdir is apparently stricter than the Mac OS X 10.8
      mkdir about which paths are considered valid arguments. For example,
      in a typical build on Mac OS X 10.9, the first of the following
      invocations of mkdirhier.sh will succeed but the second will fail:
      
      "inplace/bin/mkdirhier"   utils/ghc-cabal/dist/build/tmp//.  # WORKS
      "inplace/bin/mkdirhier"   bootstrapping/.                    # FAILS
      
      Simply prefixing the path arguments with "./" causes both to succeed:
      
      "inplace/bin/mkdirhier" ./utils/ghc-cabal/dist/build/tmp//.  # WORKS
      "inplace/bin/mkdirhier" ./bootstrapping/.                    # WORKS
      
      Testing indicates failure on paths satisfying all of these criteria:
      
      - path is suffixed with "/."
      - path is only 1 level deep (e.g., "foo/."; _not_ "foo/bar/.")
      - path is _not_ prefixed with "./"
      
      This workaround prefixes "./" to the path argument passed to mkdir.
      
      Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
      feb76385
  8. Oct 11, 2013
  9. Oct 02, 2013
  10. Oct 01, 2013
  11. Sep 23, 2013
  12. Sep 18, 2013
    • Richard Eisenberg's avatar
      Change role annotation syntax. · f4046b50
      Richard Eisenberg authored
      This fixes bugs #8185, #8234, and #8246. The new syntax is explained
      in the comments to #8185, appears in the "Roles" subsection of the
      manual, and on the [wiki:Roles] wiki page.
      
      This change also removes the ability for a role annotation on type
      synonyms, as noted in #8234.
      f4046b50
  13. Sep 15, 2013
  14. Sep 13, 2013
  15. Sep 11, 2013
  16. Sep 07, 2013
  17. Sep 04, 2013
  18. Aug 26, 2013
  19. Aug 23, 2013
  20. Aug 22, 2013
  21. Aug 14, 2013
    • Jan Stolarek's avatar
      Comparison primops return Int# (Fixes #6135) · 6579a6c7
      Jan Stolarek authored
      This patch modifies all comparison primops for Char#, Int#, Word#, Double#,
      Float# and Addr# to return Int# instead of Bool. A value of 1# represents True
      and 0# represents False. For a more detailed description of motivation for this
      change, discussion of implementation details and benchmarking results please
      visit the wiki page: http://hackage.haskell.org/trac/ghc/wiki/PrimBool
      
      There's also some cleanup: whitespace fixes in files that were extensively edited
      in this patch and constant folding rules for Integer div and mod operators (which
      for some reason have been left out up till now).
      6579a6c7
  22. Aug 06, 2013
  23. Jun 24, 2013
  24. Jun 15, 2013
    • takano-akio's avatar
      fe652a8b
    • takano-akio's avatar
      Allow multiple C finalizers to be attached to a Weak# · d61c623e
      takano-akio authored
      The commit replaces mkWeakForeignEnv# with addCFinalizerToWeak#.
      This new primop mutates an existing Weak# object and adds a new
      C finalizer to it.
      
      This change removes an invariant in MarkWeak.c, namely that the relative
      order of Weak# objects in the list needs to be preserved across GC. This
      makes it easier to split the list into per-generation structures.
      
      The patch also removes a race condition between two threads calling
      finalizeWeak# on the same WEAK object at that same time.
      d61c623e
  25. Jun 13, 2013
  26. May 30, 2013
  27. May 14, 2013
    • Ian Lynagh's avatar
      Fix the GHC package DLL-splitting · 60b86b04
      Ian Lynagh authored
      There's now an internal -dll-split flag, which we use to tell GHC how
      the GHC package is split into 2 separate DLLs. This is used by
      Packages.isDllName to determine whether a call is within the same
      DLL, or whether it is a call to another DLL.
      60b86b04
    • Ian Lynagh's avatar
      Simplify ghc-cabal · ff1a16a0
      Ian Lynagh authored
      It now consistently takes directory and distDirectory as its first 2
      arguments. Also, it only supports configuring 1 package at a time now
      (we weren't using the ability to configure more than one at once).
      ff1a16a0
  28. May 12, 2013
    • Ian Lynagh's avatar
      More work towards dynamic programs on Windows · b35a6ce0
      Ian Lynagh authored
      Dynamic GHC is now working in-place, but pathologically slow due
      to the DLL split.
      
      (GHC assumes that all intra-package calls are in the same DLL, but that
      isn't true when we split the GHC package into 2 DLLs. That means that
      GHC's startup time is around 22 seconds, as it is doing run-time
      linking).
      
      Also, ghci isn't actually working yet:
      
      $ inplace/bin/ghc-stage2 --interactive
      GHCi, version 7.7.20130512: http://www.haskell.org/ghc/  :? for help
      Loading package ghc-prim ... <command line>: can't load .so/.DLL for:
      HSghc-prim-0.3.1.0.dll (addDLL: could not load DLL)
      ghc-stage2.exe: HSghc-prim-0.3.1.0: The specified module could not be
      found.
      b35a6ce0
  29. Apr 28, 2013
Loading