| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Typechecking for "foreign import prim" | Duncan Coutts | 2009-06-09 | 2 | -0/+45 |
| | | | | | | | | | | | | | The main restriction is that all args and results must be unboxed types. In particular we allow unboxed tuple results (which is a primary motivation for the whole feature). The normal rules apply about "void rep" result types like State#. We only allow "prim" calling convention for import, not export. The other forms of import, "dynamic", "wrapper" and data label are banned as a conseqence of checking that the imported name is a valid C string. We currently require prim imports to be marked unsafe, though this is essentially arbitrary as the safety information is unused. | ||||
| * | Lexing and parsing for "foreign import prim" | Duncan Coutts | 2009-06-09 | 3 | -1/+12 |
| | | | | | | We only allow simple function label imports, not the normal complicated business with "wrapper" "dynamic" or data label "&var" imports. | ||||
| * | Add new FFI calling convention "prim" | Duncan Coutts | 2009-06-09 | 1 | -2/+6 |
| | | | | | | First in a series of patches to add the feature. This patch just adds PrimCallConv to the CCallConv type. | ||||
| * | The IO type has moved to GHC.Types in ghc-prim | Ian Lynagh | 2009-06-20 | 1 | -2/+2 |
| | | |||||
| * | Fix the way in the +RTS --info output | Ian Lynagh | 2009-06-20 | 1 | -1/+2 |
| | | |||||
| * | Set DELETE_ON_ERROR in ghc.mk | Ian Lynagh | 2009-06-17 | 1 | -0/+2 |
| | | |||||
| * | Fix the ghci wrapper | Ian Lynagh | 2009-06-16 | 1 | -1/+1 |
| | | | | | The ${1+"$@"} was being evaluated by make, rather than being escaped. | ||||
| * | Fix #3132: a case of bogus code generation | Simon Marlow | 2009-06-18 | 1 | -2/+28 |
| | | |||||
| * | Fix #3279, #3288: fix crash encountered when calling unblock inside ↵ | Simon Marlow | 2009-06-16 | 1 | -8/+35 |
| | | | | | | | unsafePerformIO See comments for details | ||||
| * | drop packedstring; it is no longer required by template-haskell | Simon Marlow | 2009-05-18 | 2 | -2/+0 |
| | | |||||
| * | suggest "cd <dir>; make help" | Simon Marlow | 2009-06-16 | 1 | -8/+2 |
| | | |||||
| * | Add support for 'make help' in subdirectories | Simon Marlow | 2009-06-16 | 4 | -1/+36 |
| | | | | | Including help for directory-specific targets, such as 'make 1' in ghc | ||||
| * | mention 'make {html,ps,pdf}' | Simon Marlow | 2009-06-16 | 2 | -0/+35 |
| | | |||||
| * | eliminate "warning: overriding commnds..." from make when we're cleaning | Simon Marlow | 2009-06-16 | 2 | -1/+4 |
| | | |||||
| * | Add 'make help', displaying a list of useful make targets | Simon Marlow | 2009-06-15 | 2 | -1/+61 |
| | | |||||
| * | Add 'make fast' which omits deps (for a library) and some of the phases | Simon Marlow | 2009-06-15 | 1 | -1/+5 |
| | | |||||
| * | add the missing final row of dashes in the success message | Simon Marlow | 2009-06-15 | 1 | -0/+3 |
| | | |||||
| * | 'make 1' in libraries builds just the stage1 libs | Simon Marlow | 2009-06-15 | 1 | -0/+4 |
| | | | | | i.e. not dph, and hence not stage2 | ||||
| * | add 'make stage1_libs', to make just the stage 1 libs | Simon Marlow | 2009-06-15 | 1 | -0/+4 |
| | | | | | i.e. not dph, and hence not the stage 2 compiler. | ||||
| * | copyFileWithHeader: use binary Handles | Simon Marlow | 2009-06-15 | 1 | -6/+7 |
| | | | | | Fixes failure when Haddocking Data.Monoid in libraries/base | ||||
| * | Include runghc and unlit in bindists | Ian Lynagh | 2009-06-13 | 2 | -5/+1 |
| | | |||||
| * | Improve bindist testing | Ian Lynagh | 2009-06-13 | 2 | -0/+5 |
| | | | | | We now also test runghc and unlit | ||||
| * | Remove the haskeline-specific hacks from ghc-cabal | Ian Lynagh | 2009-06-12 | 1 | -81/+1 |
| | | | | | | | Now that base does -liconv when it is necessary, it is no longer necessary for haskeline to do it as well, as haskeline depends on base. Thus we don't need the haskeline-specific hacks in ghc-cabal any more. | ||||
| * | Remove library buildinfo files when cleaning | Ian Lynagh | 2009-06-12 | 1 | -0/+1 |
| | | |||||
| * | Update symbol names; fixes the build on OSX | Ian Lynagh | 2009-06-12 | 1 | -8/+8 |
| | | |||||
| * | don't check for stack underflow if we just had an overflow | Simon Marlow | 2009-06-10 | 1 | -1/+3 |
| | | |||||
| * | pprExpr: don't add extra parens around [a..b] in an argument position | Simon Marlow | 2009-06-08 | 1 | -0/+2 |
| | | | | | test is tcfail205 | ||||
| * | Changes for the new IO library, mainly base-package modules moving around | Simon Marlow | 2009-05-29 | 15 | -30/+95 |
| | | |||||
| * | Fix the compiler-hs-dependency's | Ian Lynagh | 2009-06-12 | 1 | -7/+7 |
| | | | | | | | We needed some more $s to delay evaluation until the values are available, and the calls needed to be later in the ghc.mk so that compiler_stage2_WAYS etc are defined. | ||||
| * | Doc building is now controlled by sensible variables | Ian Lynagh | 2009-06-11 | 1 | -4/+0 |
| | | |||||
| * | HC bootstrapping now works | Ian Lynagh | 2009-06-11 | 1 | -1/+0 |
| | | |||||
| * | bindists are now done | Ian Lynagh | 2009-06-11 | 1 | -1/+0 |
| | | |||||
| * | Add some $s to rules/build-package.mk for consistency | Ian Lynagh | 2009-06-11 | 1 | -2/+2 |
| | | |||||
| * | Deprecate the threadsafe kind of foreign import | Duncan Coutts | 2009-06-11 | 4 | -15/+26 |
| | | |||||
| * | Remove __encodeDouble and __encodeFloat from the rts | Duncan Coutts | 2009-06-11 | 2 | -46/+0 |
| | | | | | They now live in the integer-gmp package. | ||||
| * | Add recently added lib dirs to the darcs boring file | Duncan Coutts | 2009-06-11 | 1 | -0/+5 |
| | | |||||
| * | Fix the flag used to force linking when we are making a shared library | Duncan Coutts | 2009-06-04 | 1 | -1/+1 |
| | | | | | | | | This is a correction to the patch: * When linking a shared library with --make, always do the link step which used the wrong flag in making the decision. It used -dynamic whereas the correct flag is -shared. | ||||
| * | Check we're not using stdcall in foreign export on unsupported platforms | Duncan Coutts | 2009-06-08 | 1 | -2/+3 |
| | | | | | It's already checked for foreign import, but was missing for export. | ||||
| * | Remove the various mp registers from the StgRegTable | Duncan Coutts | 2009-06-10 | 2 | -20/+0 |
| | | | | | No longer need them as temp vars in the cmm primop implementations. | ||||
| * | Convert the gmp cmm primops to use local stack allocation | Duncan Coutts | 2009-06-10 | 1 | -59/+56 |
| | | | | | | | Using global temp vars is really ugly and in the threaded case it needs slots in the StgRegTable. It'd also be pretty silly once we move the cmm primops out of the rts, into the integer-gmp package. | ||||
| * | Make killThread# cmm primop use local stack allocation | Duncan Coutts | 2009-06-10 | 1 | -2/+3 |
| | | | | | | | | It using the mp_tmp_w register/global as a convenient temporary variable. This is naughty because those vars are supposed to be for gmp. Also, we want to remove the gmp temp vars so we must now use a local stack slot instead. | ||||
| * | Make Windows bindists and installers work in the new build system | Ian Lynagh | 2009-06-10 | 5 | -10/+29 |
| | | |||||
| * | Change GHC_OPTIONS to OPTIONS_GHC | Ian Lynagh | 2009-06-10 | 2 | -2/+2 |
| | | |||||
| * | Define _BSD_SOURCE in Stg.h | Ian Lynagh | 2009-06-09 | 1 | -0/+4 |
| | | | | | | This means that, on Linux, we get functions like gamma defined when we #include math.h | ||||
| * | Put "%expect 0" directives in the .y files | Ian Lynagh | 2009-06-08 | 7 | -0/+10 |
| | | | | | | With the exception of GHC's main Parser.y(.pp), which has 2 reduce/reduce conflicts | ||||
| * | Update to libffi 3.0.8; fixes trac #3119 | Ian Lynagh | 2009-06-05 | 6 | -2586/+74203 |
| | | |||||
| * | Fix the libffi Makefile | Ian Lynagh | 2009-06-05 | 1 | -1/+1 |
| | | |||||
| * | Add a README saying where libffi tarballs come from | Ian Lynagh | 2009-06-05 | 1 | -0/+3 |
| | | |||||
| * | ghc-pkg now takes a verbosity argument | Ian Lynagh | 2009-06-05 | 1 | -23/+47 |
| | | |||||
| * | Follow Cabal changes | Ian Lynagh | 2009-06-05 | 1 | -5/+6 |
| | | |||||
