summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Update `haskeline` library to latest HEADHerbert Valerio Riedel2013-08-311-0/+0
| | | | | | | | (+ 3 outstanding local patches)
| * Note unloadObj changes in release notes.Austin Seipp2013-08-301-0/+17
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Typo in release notes regarding -dynamic-tooAustin Seipp2013-08-301-1/+1
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Update time to 1.4.1 releaseHerbert Valerio Riedel2013-08-301-0/+0
| |
| * Fix off-by-one error in FastString.getFastStringTable (#8110)Patrick Palka2013-08-301-1/+1
| | | | | | | | | | The function was reading past the end of the FastString table, causing the -dfaststring-stats option to behave unpredictably.
| * Export languageExtensions as part of the API.Jan Stolarek2013-08-301-6/+7
| | | | | | | | Fixes #8200
| * Fix comment typos that interfere with syntax highlightingPatrick Palka2013-08-302-2/+2
| |
| * Haddockify documentation in HsBinds and HsExprDan Frumin2013-08-302-77/+110
| | | | | | | | Fixes #8201
| * Update binary to 0.7.1.0 releaseHerbert Valerio Riedel2013-08-301-0/+0
| |
| * Update containers to 0.5.2.1 releaseHerbert Valerio Riedel2013-08-301-0/+0
| | | | | | | | (+ local fix for PolyTypeable)
| * Fix minor error regarding NumDecimals.Austin Seipp2013-08-301-1/+1
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Release note blurb about IncoherentInstances.Austin Seipp2013-08-291-0/+19
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Improve documentation of the new IncoherentInstances behaviourJoachim Breitner2013-08-293-31/+59
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Liberalising IncoherentInstancesJoachim Breitner2013-08-293-7/+47
| | | | | | | | | | | | | | | | (Almost) as suggested by SPJ on http://www.haskell.org/pipermail/glasgow-haskell-users/2013-July/022651.html (fixes #8141) Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Add flag docs for -dynamic-too (#8181)Austin Seipp2013-08-291-0/+18
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Treat EPERM error from mmap as an OOM (#7500)Reid Barton2013-08-291-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Linux can give back EPERM from an mmap call when a user program attempts to map pages near `mmap_min_addr`, which is a kernel security measure to prevent people from mapping pages at address 0. We may do this when we hint to mmap what address to map the pages to. However, it's theoretically possible we're not actually out of memory - we could have continuously mapped pages at some other place far away from `mmap_min_addr` and succeeded instead. So as an added precaution, if mmap for a given addr gives us EPERM, we'll also attempt to map *again*, but without the address hint. Maybe the kernel can do the right thing. However, while testing #7500, the amount of free address space we could have otherwise used only turns out to be about 139MB. Which isn't really a lot. So, given that, we *also* otherwise treat EPERM as an out of memory error. This fixes #7500. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Add release notes about -dynamic-tooAustin Seipp2013-08-291-0/+18
| | | | | | | | | | | | See #8181. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Add -fwarn-overloaded-literals to release notes.Austin Seipp2013-08-291-0/+8
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Remove some redundancy.Austin Seipp2013-08-291-3/+1
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Revert "Check for integer overflow in osGetMBlocks"Austin Seipp2013-08-291-12/+1
| | | | | | | | | | | | This reverts commit 48865521de6638240819b3979edbb3d33401dc8e. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Revert "Paranoid integer overflow check in my_mmap"Austin Seipp2013-08-291-3/+0
| | | | | | | | | | | | This reverts commit 1ce65edbff90fc8103062a1f94258ecc0c682309. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Revert "Paranoid integer overflow check in osGetMBlocks"Austin Seipp2013-08-291-2/+1
| | | | | | | | | | | | This reverts commit 1247dff7b852d45dc5006ae8be33ac991cc76c74. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Paranoid integer overflow check in osGetMBlocksReid Barton2013-08-291-1/+2
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Paranoid integer overflow check in my_mmapReid Barton2013-08-291-0/+3
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Check for integer overflow in osGetMBlocksReid Barton2013-08-291-1/+12
| | | | | | | | | | | | Fixes Trac #5188. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Document :kind! in ghci built-in helpReid Barton2013-08-291-1/+2
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * simplified the .hi format and added the -flate-dmd-anal flag (fixes #7782)Nicolas Frisby2013-08-2915-150/+91
| | | | | | | | cf http://ghc.haskell.org/trac/ghc/wiki/LateDmd
| * Improve docs for -XNegativeLiteralsSimon Peyton Jones2013-08-291-3/+8
| |
| * Refactor to avoid gratuitous DEBUG warningSimon Peyton Jones2013-08-291-4/+4
| |
| * Improve TcSimplify.approximateWC, fixing Trac #8155Simon Peyton Jones2013-08-292-33/+59
| | | | | | | | See Note [ApproximateWC]
| * Improve debug error message for applyTypeToArgsSimon Peyton Jones2013-08-291-20/+20
| |
| * Display the full type environment when reporting type holesSimon Peyton Jones2013-08-294-302/+376
| | | | | | | | | | | | | | This fixes Trac #8191. The patch also adds and documents a new flag -fmax-relevant-bindings=N which lets you control how many bindings in the type environment are shown.
| * Revert "Update submodules"Jan Stolarek2013-08-292-0/+0
| | | | | | | | This reverts commit 6df74382986fad6d9132e03e1f19303be8f19672.
| * Update submodulesJan Stolarek2013-08-292-0/+0
| | | | | | | | I didn't notice that rebase did not update submodules. Fixing now.
| * Optimize self-recursive tail callsJan Stolarek2013-08-294-94/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch implements loopification optimization. It was described in "Low-level code optimisations in the Glasgow Haskell Compiler" by Krzysztof Woś, but we use a different approach here. Krzysztof's approach was to perform optimization as a Cmm-to-Cmm pass. Our approach is to generate properly optimized tail calls in the code generator, which saves us the trouble of processing Cmm. This idea was proposed by Simon Marlow. Implementation details are explained in Note [Self-recursive tail calls]. Performance of most nofib benchmarks is not affected. There are some benchmarks that show 5-7% improvement, with an average improvement of 2.6%. It would require some further investigation to check if this is related to benchamrking noise or does this optimization really help make some class of programs faster. As a minor cleanup, this patch renames forkProc to forkLneBody. It also moves some data declarations from StgCmmMonad to StgCmmClosure, because they are needed there and it seems that StgCmmClosure is on top of the whole StgCmm* hierarchy.
| * Whitespaces and comment formattingJan Stolarek2013-08-293-36/+38
| |
| * Update `bytestring` library to latest HEADHerbert Valerio Riedel2013-08-291-0/+0
| | | | | | | | | | This also folds the new upstream repo at Github into GHC's `bytestring` Git repo, so that we can directly track upstream from there in the future.
| * Update Cabal to 1.18.0 RC2Herbert Valerio Riedel2013-08-291-0/+0
| |
| * More docs for -XNumDecimalsAustin Seipp2013-08-282-0/+23
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Fix validate failure.Austin Seipp2013-08-281-1/+1
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Wibbles.Austin Seipp2013-08-281-2/+0
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Mention iOS cross compilation in release notes.Austin Seipp2013-08-281-4/+19
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Wibbles.Austin Seipp2013-08-281-4/+0
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Document -XNegativeLiterals in the relase notes.Austin Seipp2013-08-281-0/+14
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Detabify RnPat.lhsAustin Seipp2013-08-281-107/+106
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Implement -XNumDecimals (#7266)Austin Seipp2013-08-283-3/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Under -XNumDecimals, it's possible to specify an integer literal using compact "floating point" syntax for any floating literal constant which also happens to be an integer. This lets us write 1.2e6 :: Integer instead of: 1200000 :: Integer This also makes some amendments to the users guide. Authored-by: Shachaf Ben-Kiki <shachaf@gmail.com> Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Applicative instance for Ghc and GhcTDan Frumin2013-08-281-0/+8
| | | | | | | | | | | | Fixes #8175. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Rework how iOS does linking (#8127)Austin Seipp2013-08-289-48/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | iOS has some particular constraints about how applications can be built: * We must generate a static library (.a) since XCode does the final link. * We need to carefully give the right set of arguments to libtool in the case we're generating an archive. * Dynamic linking isn't supported. * It can only be done on OS X. This patch cleans up all of the above. We add a new flag `-staticlib` (only supported on Darwin) that allows us to produce archive files using libtool, and a -pgmlibtool flag to control which 'libtool' executable to use. This fixes #8127. I believe this is the last piece missing from the iOS cross compiler. Authored-by: Luke Iannini <lukexi@me.com> Authored-by: Maxwell Swadling <maxwellswadling@gmail.com> Authored-by: Stephen Blackheath <...@blacksapphire.com> Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Clarify comments about apartnessRichard Eisenberg2013-08-281-9/+17
| |
| * Add check for obsolete `darcs.haskell.org` repo urlsHerbert Valerio Riedel2013-08-281-0/+22
| | | | | | | | | | | | | | | | If the check detects an obsolete URL, show a warning and tell the user how to invoke `sync-all` in order to update the local Git repo to point to the new repository URLs. This is related to #8121