summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Improve error messages for roles by writing role names outRichard Eisenberg2013-08-273-4/+10
| |
| * Fix Trac #8186.Richard Eisenberg2013-08-271-0/+16
| | | | | | | | Parallel list comprehensions are now handled in DsMeta.
| * Update `-ddump-minimal-imports` entry in user's guideHerbert Valerio Riedel2013-08-271-14/+21
| | | | | | | | | | | | | | The entry is updated to mention explicitly the feature implemented for #7957, as well as rewording and improving the docbook markup. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
| * Make `-ddump-minimal-imports` honour `-dumpdir` flagHerbert Valerio Riedel2013-08-271-2/+7
| | | | | | | | | | | | | | | | | | | | The `-dumpdir` flag was added via 668c860b361f16 but failed to take care of `-ddump-minimal-imports`'s output. This commit makes up for that omission. This addresses #7957 Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
| * User guide entry for `:shows paths` sub-commandHerbert Valerio Riedel2013-08-272-1/+23
| | | | | | | | | | | | | | | | This also adds an entry to the release notes section. See #8172 for more details Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
| * GHCi: Implement new `:show paths` sub-commandHerbert Valerio Riedel2013-08-271-1/+16
| | | | | | | | | | | | | | | | | | `:show paths` dumps the current working directory as well as the current value of the `importPaths` dynamic flags field. This addresses #8172 Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
| * Comments only, relating to #8166 fixSimon Peyton Jones2013-08-273-9/+15
| |
| * Properly externalise codegen identifiers (#8166)Austin Seipp2013-08-261-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 388e14e2 unfortunately broke a subtle invariant in the code generator: when generating code for an application, names may need to be externalised, in case you're building against something external with was built with -split-objs. We were never externalising the ids of the applied functions. This means if the libraries are split and we call into them, then the compiler won't may not generate correct ids when making references to functions in the library (causing linker failure). I'm not entirely sure how this didn't break everything, but it certainly caused several failures for a bunch of people. I had to fiddle with my tree a little to make this occur. This should fix #8166. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Sync Cabal to upstream version 1.18 pre-releaseHerbert Valerio Riedel2013-08-265-9/+12
| | | | | | | | | | | | Apart from bumping build-dep version bounds, `ghc-cabal` is adapted to some minor Cabal API changes, and `bin-package-db` is made aware of Cabal's recently added AGPL licence support.
| * Delete trailing whitespace in LlvmCodeGen/Ppr.hsAustin Seipp2013-08-241-2/+1
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Delete trailing whitespace in aclocal.m4Austin Seipp2013-08-241-3/+3
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Delete trailing whitespace in mk/config.mk.inAustin Seipp2013-08-241-12/+12
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Add support for iOS simulator (issue #8152).Austin Seipp2013-08-244-5/+8
| | | | | | | | | | | | | | | | The iOS simulator is essentially an iOS target but for an x86 machine instead. It doesn't support the native code generator either, though. Authored-by: Stephen Blackheath <...@blacksapphire.com> Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Fix build on non-unicode localeReid Barton2013-08-241-2/+2
| | | | | | | | | | | | happy reads .y files with the system encoding, so keep Parser.y.pp ASCII. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Fix i386/Linux build.Austin Seipp2013-08-241-1/+4
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Fix GHCi macros not shadowing builtins (#8113)Herbert Valerio Riedel2013-08-241-1/+1
| | | | | | | | | | | | | | This restores the original behaviour that was broken accidentally during the refactoring peformed via 4f764d06f3b9899c09a6a459a22d4be694ee45d9. This has been broken effectively for all GHC 7.6.x releases.
| * dll-split: Say where to update module list and fix a typo.Edward Z. Yang2013-08-231-1/+1
| | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
| * Remove unused ghc-frontpanel.glade fileAustin Seipp2013-08-231-1622/+0
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Fix build for i386/windows.Austin Seipp2013-08-231-2/+7
| | | | | | | | | | | | symbol_extras is only part of ObjectCode on certain platforms. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Fix validation failure in Fingerprint.hscAustin Seipp2013-08-231-1/+1
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Fingerprint.getFileHash: Fix not reading file at all.Niklas Hambüchen2013-08-231-1/+8
| | | | | | | | | | | | This lead to the stage1 compiler calculating random iface hashes. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Fingerprint: Fix comment typoNiklas Hambüchen2013-08-231-1/+1
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Fix windows detection in ./sync-all.Austin Seipp2013-08-231-1/+1
| | | | | | | | | | | | We weren't considering 'msys' for the $OSNAME. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Revert "Add support for external repositories to sync-all"Austin Seipp2013-08-231-6/+2
| | | | | | | | | | | | This reverts commit 2e41f2fa91c833a4420ac273254e49468044bc4b. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Remove dead code.Austin Seipp2013-08-221-4/+1
| | | | | | | | | | | | GHC >= 7.4 is needed to bootstrap. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Actually, split that last comment a bit.Austin Seipp2013-08-221-4/+6
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Add some more comments to UsageFile.Austin Seipp2013-08-221-1/+8
| | | | | | | | | | | | This brings them up to date with the changes in #8144. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Remove trailing whitespace from Fingerprint.hscAustin Seipp2013-08-221-1/+1
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Remove trailing whitespace from HscTypesAustin Seipp2013-08-221-7/+6
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Remove trailing whitespace from MkIfaceAustin Seipp2013-08-221-86/+86
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Fix -Werror failure in Fingerprint.hscAustin Seipp2013-08-221-0/+3
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Fix interface hashes including time stamp of dependent files.Niklas Hambüchen2013-08-223-16/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #8144. Before, the modification time of e.g. #included files (and everything that ends up as a UsageFile, e.g. via addDependentFile) was taken as input for the interface hash of a module. This lead to different hashes for identical inputs on every compilation. We now use file content hashes instead. This changes the interface file format. You will get "Binary.get(Usage): 50" when you try to do an incremental using .hi files that were created with a GHC 7.7 (only) older than this commit. To calculate the md5 hash (`Fingerprint`) of a file in constant space, there now is GHC.Fingerprint.getFileHash, and a fallback version for older GHCs that needs to load the file into memory completely (only used when compiling stage1 with an older GHC). Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * MkIface: Be consistent with do notationNiklas Hambüchen2013-08-221-118/+122
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * MkIface: When printing the recomp reason, make clear only mtime is usedNiklas Hambüchen2013-08-221-1/+1
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * MkIface: More specific comment about what forms the interface hashNiklas Hambüchen2013-08-221-1/+1
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * MkIface: Mention that #include now adds dependent filesNiklas Hambüchen2013-08-221-2/+4
| | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * Update email addressesGabor Greif2013-08-224-5/+5
| |
| * Strings and comments only: 'to to ' fixesGabor Greif2013-08-228-9/+9
| | | | | | | | I'd still prefer if a native english speaker would check them.
| * Remove DYNAMIC_GHC_PROGRAMS tests in the linkerSimon Marlow2013-08-222-22/+0
| | | | | | | | | | The linker is usable even when GHCi is dynamically linked. These tests make the linker_unload test fail.
| * Update release notes for GHC 7.8Jan Stolarek2013-08-221-5/+4
| |
| * Comments onlyJan Stolarek2013-08-221-3/+1
| | | | | | | | This comment is no loger true
| * Only add -O to C compilations if there was -O on the command lineSimon Marlow2013-08-221-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | In 1e2b3780ebc40d28cd0f029b90df102df09e6827 I changed the option ordering for C compilations. A side effect was that -optc options came before the automatic -O we were adding, which made it so that the -debug RTS was getting optimised when it shouldn't have been. Perhaps we shouldn't have automatic -O options added to C compilations. But that might cause problems for build systems that are relying on the current behaviour, so I've made a minor change instead: now C optimisation level == Haskell optimisation level.
| * Really unload object code when it is safe to do so (#8039)Simon Marlow2013-08-225-17/+419
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The next major GC after an unloadObj() will do a traversal of the heap to determine whether the object code can be removed from memory or not. We'll keep doing these until it is safe to remove the object code. In my experiments with GHCi, the objects get unloaded immediately, which is a good sign: we're not accidentally holding on to any references anywhere in the GHC data structures. Changes relative to the patch earlier posted on the ticket: - fix two memory leaks discovered with Valgrind, after testing with tests/rts/linker_unload.c
| * In the non-threaded RTS, make *_barrier functions EXTERN_INLINE, not ↵Ryan Newton2013-08-211-3/+6
| | | | | | | | #define. (fixes #8077)
| * DetabifyJan Stolarek2013-08-211-39/+32
| | | | | | | | I missed that file yesterday when I was cleaning up codeGen/ directory.
* | minor bugfix to casIntArray# and fetchAddIntArray#Ryan Newton2013-08-221-4/+6
| |
* | Eliminate atomic_inc_by and instead medofiy atomic_inc.Ryan Newton2013-08-214-30/+11
| |
* | Add PrimOp fetchAddIntArray# plus supporting C function atomic_inc_by.Ryan Newton2013-08-215-5/+50
| |
* | Add PrimOp: casIntArray#. Modify casMutVar# for 'ticketed' style.Ryan Newton2013-08-214-2/+32
| |
* | Update stg_casArrayzh to conform to new CMM conventions.Ryan Newton2013-08-211-9/+6
| |