1. 11 Jul, 2015 4 commits
  2. 10 Jul, 2015 6 commits
    • Ben Gamari's avatar
      Fix self-contained handling of ASCII encoding · d69dfba4
      Ben Gamari authored
      D898 was primarily intended to fix hangs in the event that iconv was
      unavailable (namely #10298 and #7695). In addition to this fix, it also
      introduced self-contained handling of ANSI terminals to allow compiled
      executables to run in minimal environments lacking iconv.
      However, the behavior that the patch introduced is highly suspicious.
      Specifically, it gives the user a UTF-8 encoding even if they requested
      This has the potential to break quite a lot of code. At very least it
      breaks GHC's Unicode terminal detection logic, which attempts to catch
      an invalid character when encoding a pair of smart-quotes. Of course,
      this exception will never be thrown if a UTF-8 encoder is used.
      Here we use the `char8` encoding to handle requests for ASCII encodings
      in the event that we find iconv to be non-functional.
      Fixes #10623.
      Test Plan: Validate with T8959a
      Reviewers: rwbarton, hvr, austin, hsyl20
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D1059
      GHC Trac Issues: #10623
    • thomie's avatar
      Delete the WayPar way · 9b1ebba2
      thomie authored
      Also remove 't' and 's' from ALL_WAYS; they don't exist.
      Differential Revision: https://phabricator.haskell.org/D1055
    • Simon Peyton Jones's avatar
      Improve error message for fundeps · 2d06a9f1
      Simon Peyton Jones authored
      Improve error message fundeps, especially when PolyKinds means that
      the un-determined variables are (invisible) kind variables.
      See Trac #10570.
    • thomie's avatar
      Update .mailmap [skip ci] · 888026db
      thomie authored
    • Simon Peyton Jones's avatar
      Better type wildcard errors · 9e86bf1b
      Simon Peyton Jones authored
      Adopts sugggestion in Trac #10224, comment:3
    • Simon Peyton Jones's avatar
      Comments only · 0a3c43fe
      Simon Peyton Jones authored
  3. 09 Jul, 2015 7 commits
    • Edward Z. Yang's avatar
      Make mkQualPackage more robust when package key is bad. · 6f1c0766
      Edward Z. Yang authored
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      Test Plan: validate
      Reviewers: bgamari, austin
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D1060
      GHC Trac Issues: #10624
    • Ben Gamari's avatar
      Add testcase for #10602 · a6359f26
      Ben Gamari authored
    • Ben Gamari's avatar
    • Simon Peyton Jones's avatar
      Infer types with flexible contexts · b5aabfbd
      Simon Peyton Jones authored
      Responding to Trac #10608 and Trac #10351, I've reverted
      to making type inference infer structured constraint like
          f :: C [t] => t -> t
      even if -XFlexibleContexts is not set.  That elicits an
      error message suggesting the flag.  The result is more
      helpful than the error message you get otherwise.
    • Simon Peyton Jones's avatar
      White space only · c58dc1a1
      Simon Peyton Jones authored
    • Simon Peyton Jones's avatar
      Document RULES and class methods · 889824dd
      Simon Peyton Jones authored
      Relates to Trac #10595
    • Ben Gamari's avatar
      Bitmap: Fix thunk explosion · b29633f5
      Ben Gamari authored
      Previously we would build up another `map (-N)` thunk
      for every word in the bitmap. Now we strictly accumulate the position
      and carry out a single ``map (`subtract` accum)``.
      `Bitmap.intsToBitmap` showed up in the profile while compiling a 
      testcase of #7450 (namely a program containing a record type with large 
      number of fields which derived `Read`). The culprit was 
      `CmmBuildInfoTables.procpointSRT.bitmap`. On the testcase (with 4096 
      fields), the profile previously looked like,
      	total time  =      307.94 secs   (307943 ticks @ 1000 us, 1 
      	total alloc = 336,797,868,056 bytes  (excludes profiling 
      COST CENTRE              MODULE              %time %alloc
      lintAnnots               CoreLint             17.2   25.8
      procpointSRT.bitmap      CmmBuildInfoTables   11.3   25.2
      FloatOutwards            SimplCore             7.5    1.6
      flatten.lookup           CmmBuildInfoTables    4.0    3.9
      After this fix it looks like,
      	total time  =      256.88 secs   (256876 ticks @ 1000 us, 1 
      	total alloc = 255,033,667,448 bytes  (excludes profiling 
      COST CENTRE              MODULE              %time %alloc
      lintAnnots               CoreLint             20.3   34.1
      FloatOutwards            SimplCore             9.1    2.1
      flatten.lookup           CmmBuildInfoTables    4.8    5.2
      pprNativeCode            AsmCodeGen            3.7    4.3
      simplLetUnfolding        Simplify              3.6    2.2
      StgCmm                   HscMain               3.6    2.1
      Signed-off-by: Ben Gamari's avatarBen Gamari <ben@smart-cactus.org>
      Test Plan: Validate
      Reviewers: austin, simonpj
      Reviewed By: simonpj
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D1041
      GHC Trac Issues: #7450
  4. 08 Jul, 2015 7 commits
  5. 07 Jul, 2015 15 commits
  6. 06 Jul, 2015 1 commit