summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Activate tab checksGabor Greif2014-07-121-6/+0
|
* M-x untabifyGabor Greif2014-07-121-111/+111
|
* Add a .travis.yml fileJoachim Breitner2014-07-121-0/+36
| | | | | | | | | | | | This is a reduced build that should finish within the 50 minute time limit most of the time. In particular, * it skips DPH * it does not build dynamic libraries and no dynamic executables * does not build haddock or generate documentation * only runs fast tests, and no performance tests You can see its results at https://travis-ci.org/ghc/ghc/builds
* Declare official github home of libraries/unixHerbert Valerio Riedel2014-07-111-1/+1
| | | | | | | Effective immediately, pushing to libraries/unix requires pushing to ssh://git@github.com/haskell/unix.git. This done now even though there's no scripted tooling yet as the GitHub repo is already receiving pull requests (which are getting merged)
* Comments onlyJan Stolarek2014-07-111-1/+1
|
* Remove unused parameter in rnHsTyVarJan Stolarek2014-07-111-10/+9
|
* Integrate changelog entries from base-4.7.0.1 relHerbert Valerio Riedel2014-07-111-0/+13
|
* Fix typos in base documentation.Shachaf Ben-Kiki2014-07-102-4/+4
| | | | | | | | | | | | | | Summary: Signed-off-by: Shachaf Ben-Kiki <shachaf@gmail.com> Test Plan: n/a Reviewers: austin Reviewed By: austin Subscribers: simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D57
* GHC.Conc: clarify that 'forkOn' binds to capability, not a 'CPU' or 'Task'Sergei Trofimovich2014-07-101-3/+3
| | | | | | | | | | | | | | | | | | | | | Summary: Capability (HEC) can migrate to other Task (thus switch CPU) unless capability was created as a bound haskell thread. Task also can migrate to other CPU due to OS scheduler (unless '-qa' RTS option is set). Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Test Plan: proofread for typos Reviewers: simonmar, austin Reviewed By: austin Subscribers: simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D52
* remove SPARC related comment in PPC code generatorPeter Trommler2014-07-101-9/+0
| | | | | | | | | | | | | | | | Summary: PowerPC does not do delay slots and there is also no requirement to put extra instructions between FP operations and branches. Test Plan: None. Comment change only. Reviewers: austin, simonmar Reviewed By: austin, simonmar Subscribers: simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D40
* Avoid unnecessary clock_gettime() syscalls in GC stats.Brian Brooks2014-07-104-53/+3
| | | | | | | | | | | | | | Summary: Avoid unnecessary clock_gettime() syscalls in GC stats. Test Plan: Use strace. Reviewers: simonmar, austin Reviewed By: simonmar, austin Subscribers: simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D39
* [backpack] Rework definite package compilationEdward Z. Yang2014-07-101-105/+103
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Make the example a little more complexEdward Z. Yang2014-07-101-142/+208
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* rts: Fix #9003 with an annoying hackAustin Seipp2014-07-092-1/+8
| | | | | | | The TL;DR is that by adding this, we can distinguish GHC 7.8.3 from 7.8.2, which had a buggy implementation. See the ticket for details. Signed-off-by: Austin Seipp <austin@well-typed.com>
* Start expanding out linking textEdward Z. Yang2014-07-091-92/+239
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Add hyperref package.Edward Z. Yang2014-07-091-0/+1
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* [docs/backpack] Get lint to stop complainingEdward Z. Yang2014-07-091-6/+6
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Scott's updates to the impl paper.Edward Z. Yang2014-07-091-25/+92
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* More testsuite ignores.Edward Z. Yang2014-07-071-0/+2
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Track gitignore update in submodule unixEdward Z. Yang2014-07-071-0/+0
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Private axiom comment in BackpackEdward Z. Yang2014-07-071-2/+27
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Do not print the result of 'main' after invoking ':main' (fixes #9086).Gintautas Miliauskas2014-07-077-3/+12
|
* Fix imports in GHC.Event.Poll when not HAVE_POLL_H (#9275)Reid Barton2014-07-061-0/+1
| | | | | | Though as far as I can tell, we can never successfully build under this configuration anyways: GHC.Event.TimerManager requires the Poll backend to be functional.
* Set mdo in typewriter faceGabor Greif2014-07-051-1/+2
|
* Fix windows breakage (fallout from 34f7e9a3c998)Austin Seipp2014-07-042-3/+1
| | | | Signed-off-by: Austin Seipp <austin@well-typed.com>
* Update .gitignoreAustin Seipp2014-07-031-0/+3
| | | | Signed-off-by: Austin Seipp <austin@well-typed.com>
* Update documentationJan Stolarek2014-07-033-3/+4
| | | | | * fix links to the User's Guide in ghc and ghci --help messages * fix default stack size info in RTS help message
* PrelNames cleanupJan Stolarek2014-07-031-76/+72
| | | | | * Replace usage of methName with varQual, because they are identical * Minor formatting adjustments
* Update transformers submodule to 0.4.1.0 releaseHerbert Valerio Riedel2014-07-021-0/+0
|
* Mark HPC ticks labels as dynamicReid Barton2014-07-021-0/+2
| | | | | | This enables GHC's PIC machinery for accessing tickboxes of other packages correctly when building dynamic libraries. Previously GHC was doing strange and wrong things in that situation. See #9012.
* Minor edits to Backpack design docEdward Z. Yang2014-07-021-19/+92
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* remove redundant condition checking in profiling RTS codeosa12014-07-021-4/+2
| | | | | | | | | | | | | | Summary: A redundant condition checking is removed, as discussed in http://www.haskell.org/pipermail/ghc-devs/2014-June/005088.html Test Plan: validate Reviewers: simonmar, austin Reviewed By: austin Subscribers: simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D37
* includes/stg/SMP.h: use 'NOSMP' instead of never defined 'WITHSMP' (Trac #8789)Sergei Trofimovich2014-07-021-21/+21
| | | | | | | | | | | | | | | | | | Summary: git history does not contain state where 'WITHSMP' macro was ever defined. It should have always been '!NOSMP'. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Test Plan: build tested Reviewers: austin, simonmar Reviewed By: austin, simonmar Subscribers: simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D33
* ghc-pkg register/update --enable-multi-instanceAustin Seipp2014-07-021-13/+36
| | | | | | | | | | | | | | | | | | | | | Summary: New flag to ghc-pkg register/update to lift the restriction on multiple instances of the same package version being in a db at once. Lifting the restriction is easy. The tricky bit is checking ghc does something sensible, but from the reading of the code it should treat such instances the same way it does with multiple instances between multiple DBs. We'll also need a way to unregister by installed package id. Test Plan: need to test that ghc is doing what we expect, at least if you use it like -hide-all-packages -package-id this -package-id that Reviewers: ezyang, simonmar Reviewed By: simonmar Subscribers: relrod Projects: #ghc Differential Revision: https://phabricator.haskell.org/D32
* compiler/ghc.mk: restore GhcHcOpts variable handling (Trac #8787)Sergei Trofimovich2014-07-021-3/+3
| | | | | | | | | | | | | | | | | | | Summary: wiki and mk/config.mk.in suggests setting GhcHcOpts for compiler-wide haskell flags. But it does not work for a while now (broke around ca07d92837fc1e3ae9be67bb7d9e7f1b8035b00f) Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Test Plan: 'make' shows now ghc timing as it used to be Reviewers: simonmar, austin Reviewed By: austin Subscribers: simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D29
* reading/writing blocking FDs over FD_SETSIZE is broken (Partially Trac #9169)Sergei Trofimovich2014-07-021-1/+5
| | | | | | | | | | | | | | | | | | Summary: libraries/base/cbits/inputReady.c had no limits on file descriptors. Add a limit as non-threaded RTS does. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Test Plan: none Reviewers: austin, simonmar Reviewed By: austin, simonmar Subscribers: simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D28
* Control CPP through settings file (#8683)Carter Tazio Schonwald2014-07-026-15/+142
| | | | | | | | | | | | | | | | Summary: Allow the CPP program and flag choices for GHC be configured via the the ghc settings file Test Plan: ran validate yesterday Reviewers: hvr, austin, mzero, simonmar Reviewed By: austin, mzero, simonmar Subscribers: mzero, simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D26
* Finish up incomplete sectionsEdward Z. Yang2014-07-021-90/+230
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Finish the simple elaboration algoEdward Z. Yang2014-07-021-20/+41
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Fix variable name in allocate()Reid Barton2014-07-011-3/+3
|
* Backpack docs: Compilation, surface syntax, and package databaseEdward Z. Yang2014-07-011-92/+434
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Fixup nullary typeclasses (Trac #8993)Krzysztof Gogolewski2014-07-012-3/+8
| | | | | | | | | | | | | | Summary: Fix test broken after Trac #8993 Test Plan: validate Reviewers: austin, simonpj, hvr Reviewed By: austin, hvr Subscribers: simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D34
* Test Trac #9222Simon Peyton Jones2014-07-012-0/+8
|
* Fix demand analyser for unboxed typesSimon Peyton Jones2014-07-015-11/+78
| | | | | | | | | This is a tricky case exposed by Trac #9254. I'm surprised it hasn't shown up before, because it's happens when you use unsafePerformIO in the right way. Anyway, fixed now. See Note [Analysing with absent demand] in Demand.lhs
* Check for integer overflow in allocate() (#9172)Reid Barton2014-07-019-1/+71
| | | | | | | | | | | | | | Summary: Check for integer overflow in allocate() (#9172) Test Plan: validate Reviewers: austin Reviewed By: austin Subscribers: simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D36
* Partially fix #9003 by reverting bad numbering.Edward Z. Yang2014-07-011-13/+15
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Update Haddock submodule with Iavor's validate fix.Edward Z. Yang2014-07-011-0/+0
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Refactor checkHiBootIface so that TcGblEnv is not necessary.Edward Z. Yang2014-07-011-13/+28
| | | | | | | | | | | | | | | | Summary: This patch is a prelude to implementation of hi-to-hi compatibility checking. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Test Plan: validate Reviewers: simonpj, austin Subscribers: simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D35
* Replace thenM/thenM_ with do-notation in RnExprJan Stolarek2014-07-011-126/+104
|
* Unbreak TcNullaryTC testcase, by using MPTCJoachim Breitner2014-07-011-1/+1
|