1. 15 Jan, 2001 4 commits
  2. 14 Jan, 2001 4 commits
  3. 13 Jan, 2001 4 commits
  4. 12 Jan, 2001 20 commits
  5. 11 Jan, 2001 8 commits
    • qrczak's avatar
      [project @ 2001-01-11 22:04:39 by qrczak] · e19816a8
      qrczak authored
      Allow Ptr in foreign dynamic declarations
      e19816a8
    • qrczak's avatar
      [project @ 2001-01-11 19:50:19 by qrczak] · 98ac64ef
      qrczak authored
      Remove backslash-newline pairs in #-constructs.
      98ac64ef
    • qrczak's avatar
      [project @ 2001-01-11 19:48:28 by qrczak] · f6acf71b
      qrczak authored
      CChar is Num so NUL can be written as 0.
      f6acf71b
    • simonmar's avatar
      [project @ 2001-01-11 17:51:02 by simonmar] · 6170d17e
      simonmar authored
      oops, I broke getArgs.  Unbreak it, and remove an unused import while
      I'm here.
      6170d17e
    • simonmar's avatar
      [project @ 2001-01-11 17:35:24 by simonmar] · 27867e55
      simonmar authored
      add missing -u symbols.
      27867e55
    • simonmar's avatar
      [project @ 2001-01-11 17:33:32 by simonmar] · 68b16e25
      simonmar authored
      s/PrelAddr/Addr
      68b16e25
    • simonmar's avatar
      [project @ 2001-01-11 17:25:56 by simonmar] · efa88123
      simonmar authored
      Re-organisation of ghc/lib/std and hslibs/lang
      ----------------------------------------------
      
      In brief: move deprecated features out of ghc/lib/std and into
      hslibs/lang, move new FFI libraries into ghc/lib/std and start
      using them.
      
      - foreign import may now return an unboxed type (this was
        advertised to work before, but in fact didn't).  Subsequent
        cleanups in PrelInt/PrelWord.
      
      - Ptr is now defined in ghc/lib/std/PrelPtr.lhs.  Ptr is no
        longer a newtype of Addr, it is defined directly in terms of
        Addr#.
      
      - PrelAddr has disappeared from ghc/lib/std, all uses of Addr in
        ghc/lib/std have been replaced with Ptr.  The definitions of
        Addr has been moved to hslibs/lang/Addr.lhs, as has
        lots of other Addr-related stuff.
      
      - ForeignObj has been removed from ghc/lib/std, and replaced with
        ForeignPtr.  The definition of ForeignObj has been moved to
        hslibs/lang/ForeignObj.lhs.
      
      - Most of the new FFI has been moved into ghc/lib/std in the form
        of modules PrelMarshalAlloc, PrelCString, PrelCError,
        PrelMarshalError, PrelMarshalArray, PrelMarshalUtils,
        PrelCTypes, PrelCTypesISO, and PrelStorable.  The corresponding
        modules in hslibs/lang simply re-export the contents of these
        modules.
      
      - PrelPosixTypes defines a few POSIX types (CMode == mode_t,
        etc.)
      
      - PrelCError changed to access errno using foreign label and peek
        (the POSIX book I have says that errno is guaranteed to be an
        extern int, so this should be OK until I get around to making
        errno thread-safe).
      
      - Hacked the macros that generate the code for CTypes and
        CTypesISO to generate much less code
        (ghc/lib/std/cbits/CTypes.h).
      
      - RtsAPI is now a bit more honest when it comes to building heap
        objects (it uses the correct constructors).
      
      - the Bits class and related stuff has been moved to ghc/lib/std
        (it was simpler this way).
      
      - Directory and System have been converted to use the new FFI.
      efa88123
    • simonpj's avatar
      [project @ 2001-01-11 14:09:50 by simonpj] · e18bb2e8
      simonpj authored
      Add debug print for rule firings; controlled by -ddump-inlinings.
      
      Also, make -ddump-inlinings work without -DDEBUG is off.
      It's jolly useful, and it's tiresome to have to tell
      people to rebuild their compiler.
      e18bb2e8