1. 31 Oct, 2001 4 commits
    • simonmar's avatar
      [project @ 2001-10-31 12:26:17 by simonmar] · a20d426b
      simonmar authored
      Handle completely empty files without crashing in slurpFileExpandTabs.
      a20d426b
    • rrt's avatar
      [project @ 2001-10-31 11:37:14 by rrt] · 89f67336
      rrt authored
      The new story where InstallShield just crawls over a make install tree,
      rather than having to specify the directory layout by hand. Some tweaks to
      the way that external programs are installed, so that they too can be just
      crawled over.
      89f67336
    • simonmar's avatar
      [project @ 2001-10-31 10:34:29 by simonmar] · 760f104f
      simonmar authored
      Fix a problem when a Haskell process is suspended/resumed using shell
      job control in Unix.  The shell tends to put stdin back into blocking
      mode before resuming the process, so we have to catch SIGCONT and put
      it back into O_NONBLOCK.
      
      Also:
      
        - fix a bug in the scheduler: reverse the order of the check
          for pending signals and the call to awaitEvent to block on I/O.
      
        - do a style sweep in Signals.c
      760f104f
    • simonmar's avatar
      [project @ 2001-10-31 10:30:29 by simonmar] · ab01dd37
      simonmar authored
      Add setNonBlockingFd(), for use in the SIGCONT handler in Signals.c.
      ab01dd37
  2. 30 Oct, 2001 9 commits
  3. 29 Oct, 2001 7 commits
  4. 27 Oct, 2001 2 commits
  5. 26 Oct, 2001 7 commits
    • sewardj's avatar
      [project @ 2001-10-26 11:59:36 by sewardj] · d6af23ab
      sewardj authored
      merge from stable, revs:
      
        1.41.4.1  +4 -1      fptools/ghc/compiler/nativeGen/AbsCStixGen.lhs
        1.61.4.3  +10 -0     fptools/ghc/driver/mangler/ghc-asm.lprl
      
        Place a zero word after each reversed vector table, so that the vtbl
        label is really in the section we would like to claim it is in.  This
        is needed for the GC to work correctly.  Fixes a GHCi segfault
        reported by Ryszard Kubiak.
      
        1.41.4.2  +7 -0      fptools/ghc/compiler/nativeGen/AbsCStixGen.lhs
        1.61.4.4  +18 -0     fptools/ghc/driver/mangler/ghc-asm.lprl
      
        Add comments, much longer than the fix itself, giving explaination
        for yesterday's dummy-word-after-vtbl fix.
      d6af23ab
    • sewardj's avatar
      [project @ 2001-10-26 11:53:34 by sewardj] · 9551c28b
      sewardj authored
      merge from stable, revs:
      
        1.74.4.1  +12 -11    fptools/ghc/compiler/nativeGen/MachCode.lhs
        1.30.4.1  +23 -0     fptools/ghc/compiler/nativeGen/Stix.lhs
        1.70.4.1  +2 -5      fptools/ghc/compiler/nativeGen/StixPrim.lhs
      
        Route all NCG panics to do with missing primop implementations and any
        other panic which could be caused by compiling legitimate sources
        through the function Stix.ncgPrimopMoan.  This emits a helpful message
        explaining what has happened, advises the use of -fvia-C as a
        workaround, and says please mail us.
      9551c28b
    • sewardj's avatar
      [project @ 2001-10-26 11:49:19 by sewardj] · 80ca788a
      sewardj authored
      merge from stable, rev 1.23.4.1:
      
        Win32 only: implement sane failure semantics + message when out of
        memory, rather than continuing and allowing the rest of the system
        to seg out.  Also, increase the 128M limit to 256M.
      
        This allegedly fixes the Antony Courtney Win32 segfault.
      80ca788a
    • sewardj's avatar
      [project @ 2001-10-26 11:33:13 by sewardj] · 3eb89949
      sewardj authored
      merge from stable, rev 1.60.2.10:
      
        Implement a debugging aid: look in GHCi's object symbol tables for
        symbols within DELTA bytes of the specified address, and show their
        names.  Only compiled with -DDEBUG.  The new fn is called ghci_enquire
        and you can call it from within a gdb session.
      3eb89949
    • sof's avatar
      [project @ 2001-10-26 05:31:05 by sof] · c2867d09
      sof authored
      pipeLoop: Handle pipelines that end with ineffective
      final stages (e.g., CPP and/or PP) correctly. i.e.,
      need to copy the outcome of the pipeline into the
      expected output file, since the final stage didn't.
      c2867d09
    • sof's avatar
      [project @ 2001-10-26 00:53:56 by sof] · 40f19c21
      sof authored
      Custom pre-processor documentation
      40f19c21
    • sof's avatar
      [project @ 2001-10-26 00:53:27 by sof] · 11447047
      sof authored
      Added support for a custom pre-processor pass:
      
        ghc -F -pgmF/path/to/a/pre/processor ...
      
      will now run /path/to/a/pre/processor over Haskell
      input sources. It is positioned in the compilation
      pipeline just before the compiler proper, but after
      unlit'ing and CPP'ing. The pre-processor is passed
      the following command-line when invoked:
      
         /path/to/a/pre/processor orig_input_source_file_path
         			    input_source_file
      			    output_source_file
      			    <other options>
      
      Additionally options can be fed directly to the
      pre-processor via -optF<option> options.
      
      The -F option causes the pre-processor to run _iff_ one
      has been specified via -pgmF (there's some redundancy
      here, but I went for this cmd-line interface as it's
      consistent with the general -pgm<Foo> story).
      
      Motivation:
      
       * hooking in a pre-processor is occasionally useful;
         e.g., cheap&cheerful way to integrate language
         extensions with GHC, compile-time syntax/style
         checking etc.
      
       * Artfully re-using the CPP phase (by specifying your
         own via -pgmP) doesn't really work as the driver
         really assumes that GNU cpp is what's being invoked
         (and path mangling is also performed on Win32 platforms).
      
         Additionally, there are cases when you want to be
         able to run CPP _and_ a pre-processor.
      
       * The alternative of running the pre-processor as a
         separate program in a Makefile (say) doesn't work
         in interpreted mode, and this approach also forces
         you to give up on recompilation checking when in
         batch mode.
      11447047
  6. 25 Oct, 2001 11 commits