1. 27 Mar, 2005 1 commit
    • panne's avatar
      [project @ 2005-03-27 13:41:13 by panne] · 03dc2dd3
      panne authored
      * Some preprocessors don't like the C99/C++ '//' comments after a
        directive, so use '/* */' instead. For consistency, a lot of '//' in
        the include files were converted, too.
      * UnDOSified libraries/base/cbits/runProcess.c.
      * My favourite sport: Killed $Id$s.
  2. 24 Mar, 2005 7 commits
  3. 23 Mar, 2005 2 commits
    • sof's avatar
      [project @ 2005-03-23 18:51:33 by sof] · 15552e14
      sof authored
      Rename the filenames used for the 'win32' package to {lib}HSwin_32{1.o,2.o,.a}
      so as to avoid conflicts with the 'Win32' package when installing to a common
      library directory on a case-insensitive filesystem (as we do when building
      binary dists under Windows.) This fixes the off-the-bat brokenness experienced
      by people trying to load the 'Win32' package with ghci-6.4.
      Note: package creators may want to make a note of this if they haven't already,
      i.e., while the package infrastructure is case-sensitive, it's unsafe to assume
      that the underlying filesystem is.
      Merge to STABLE.
    • simonmar's avatar
      [project @ 2005-03-23 13:27:42 by simonmar] · c94111ff
      simonmar authored
      Build GHC package as part of stage 2, and install it.
      The following changes will affect those building the GHC package:
        - BuildPackageGHC=YES is no longer required in build.mk
        - You must build stage 2 in order to get package ghc.
        - 'make install-inplace-pkg' is not required (nor does it work)
        - -package ghc can be used with the local stage1 or stage2 compiler
          in the current build tree, and it will be available after a
          'make install'.
      The GHC package is no longer optional, but it doesn't add much to the
      build time.
  4. 22 Mar, 2005 3 commits
    • simonpj's avatar
      [project @ 2005-03-22 17:33:38 by simonpj] · d3585c0a
      simonpj authored
      Windows wibbles
    • simonmar's avatar
      [project @ 2005-03-22 17:13:12 by simonmar] · 069370a5
      simonmar authored
      A start on the GHC API:
      Flesh out the GHC module so that it can replace CompManager.  Now, the
      clients that used CompManager consume the GHC API instead (namely
      Main, DriverMkDepend, and InteractiveUI).  Main is significantly
      cleaner as a result.
      The interface needs more work: in particular, getInfo returns results
      in the form of IfaceDecls but we want to use full HsSyn and
      Id/DataCon/Class across the boundary instead.
      The interfaces for inspecting loaded modules are not yet implemented.
    • simonmar's avatar
      [project @ 2005-03-22 11:53:48 by simonmar] · 8e294039
      simonmar authored
      remove redundant dependency
  5. 21 Mar, 2005 3 commits
    • sof's avatar
      [project @ 2005-03-21 18:04:48 by sof] · c6f9cbaa
      sof authored
      __hscore_getFolderPath(): Don't limit ourselves to shell32.dll, look up
        shfolder.dll too.
      Merge to STABLE.
    • simonmar's avatar
      [project @ 2005-03-21 13:57:28 by simonmar] · 6bcf0343
      simonmar authored
      Update the -fno-cse flags
    • simonmar's avatar
      [project @ 2005-03-21 10:50:22 by simonmar] · 50159f6c
      simonmar authored
      Complete the transition of -split-objs into a dynamic flag (looks like I
      half-finished it in the last commit).
      Also: complete the transition of -tmpdir into a dynamic flag, which
      involves some rearrangement of code from SysTools into DynFlags.
      Someday, initSysTools should move wholesale into initDynFlags, because
      most of the state that it initialises is now part of the DynFlags
      structure, and the rest could be moved in easily.
  6. 19 Mar, 2005 1 commit
    • sof's avatar
      [project @ 2005-03-19 02:03:26 by sof] · cbe4c3a7
      sof authored
      [Windows only]
      for System.Directory / Compat.Directory functionality that probes the OS
      for local details re: misc user directories, perform late binding of
      SHGetFolderPath() from shell32.dll, as it may not be present.
      (cf. ghc-6.4's failure to operate on Win9x / NT boxes.) If the API isn't
      there, fail with UnsupportedOperation.
      Packages.readPackageConfigs: gracefully handle excns from getAppUserDataDirectory.
      Merge to STABLE.
  7. 18 Mar, 2005 7 commits
    • simonpj's avatar
      [project @ 2005-03-18 17:17:02 by simonpj] · c0eed017
      simonpj authored
      Import wibble
    • simonpj's avatar
      [project @ 2005-03-18 17:16:00 by simonpj] · d5b3e9b5
      simonpj authored
      Fix stage-2 build
    • simonmar's avatar
      [project @ 2005-03-18 13:53:34 by simonmar] · 9b73f1ba
      simonmar authored
      Undo rev. 1.6, these changes shouldn't have been in this tree
    • simonmar's avatar
      [project @ 2005-03-18 13:37:27 by simonmar] · d1c1b7d0
      simonmar authored
      Flags cleanup.
      Basically the purpose of this commit is to move more of the compiler's
      global state into DynFlags, which is moving in the direction we need
      to go for the GHC API which can have multiple active sessions
      supported by a single GHC instance.
      $ grep 'global_var' */*hs | wc -l
      $ grep 'global_var' */*hs | wc -l
      Well, it's an improvement.  Most of what's left won't really affect
      our ability to host multiple sessions.
      Lots of static flags have become dynamic flags (yay!).  Notably lots
      of flags that we used to think of as "driver" flags, like -I and -L,
      are now dynamic.  The most notable static flags left behind are the
      "way" flags, eg. -prof.  It would be nice to fix this, but it isn't
      On the way, lots of cleanup has happened.  Everything related to
      static and dynamic flags lives in StaticFlags and DynFlags
      respectively, and they share a common command-line parser library in
      CmdLineParser.  The flags related to modes (--makde, --interactive
      etc.) are now private to the front end: in fact private to Main
      itself, for now.
    • simonmar's avatar
      [project @ 2005-03-18 11:19:27 by simonmar] · 6a51f7df
      simonmar authored
      merge rev., simplified slightly:
        Initialise a CostCentreStack by generating SIZEOF_CostCentreStack
        (gotten from the C compiler) zeros, padded to the nearest word.
        Improves on the previous fixes for unpredictable padding (see comment).
    • simonmar's avatar
      [project @ 2005-03-18 11:16:27 by simonmar] · 5970d44a
      simonmar authored
      Add SIZEOF_CostCentreStack
    • simonpj's avatar
      [project @ 2005-03-18 09:38:12 by simonpj] · a983db17
      simonpj authored
      Clarify -main-is documentation
  8. 17 Mar, 2005 10 commits
  9. 16 Mar, 2005 6 commits