1. 14 Aug, 2001 1 commit
    • sewardj's avatar
      [project @ 2001-08-14 13:40:07 by sewardj] · bc5c8021
      sewardj authored
      Change the story about POSIX headers in C compilation.
      
      Until now, all C code in the RTS and library cbits has by default been
      compiled with settings for POSIXness enabled, that is:
         #define _POSIX_SOURCE   1
         #define _POSIX_C_SOURCE 199309L
         #define _ISOC9X_SOURCE
      If you wanted to negate this, you'd have to define NON_POSIX_SOURCE
      before including headers.
      
      This scheme has some bad effects:
      
      * It means that ccall-unfoldings exported via interfaces from a
        module compiled with -DNON_POSIX_SOURCE may not compile when
        imported into a module which does not -DNON_POSIX_SOURCE.
      
      * It overlaps with the feature tests we do with autoconf.
      
      * It seems to have caused borkage in the Solaris builds for some
        considerable period of time.
      
      The New Way is:
      
      * The default changes to not-being-in-Posix mode.
      
      * If you want to force a C file into Posix mode, #include as
        the **first** include the new file ghc/includes/PosixSource.h.
        Most of the RTS C sources have this include now.
      
      * NON_POSIX_SOURCE is almost totally expunged.  Unfortunately
        we have to retain some vestiges of it in ghc/compiler so that
        modules compiled via C on Solaris using older compilers don't
        break.
      bc5c8021
  2. 24 Jul, 2001 1 commit
  3. 16 Jan, 2001 1 commit
  4. 16 Dec, 2000 1 commit
  5. 04 Dec, 2000 1 commit
  6. 06 Sep, 2000 1 commit
    • rrt's avatar
      [project @ 2000-09-06 11:12:07 by rrt] · e349469c
      rrt authored
      Made message for exceeding 128Mb of heap on Windows more helpful, and
      only abort when this limit is exceeded, not on first memory allocation!
      e349469c
  7. 17 Aug, 2000 1 commit
    • rrt's avatar
      [project @ 2000-08-17 15:21:55 by rrt] · 39cbf830
      rrt authored
      barf when a DLLized RTS tries to allocate a 2nd Windows monster block;
      is_heap_alloced stops working at this point. No problem for the static
      build.
      39cbf830
  8. 04 Aug, 2000 1 commit
    • lewie's avatar
      [project @ 2000-08-04 23:31:43 by lewie] · 39318542
      lewie authored
      Port to OpenBSD from Thomas Nordin.  Please merge with 4.08 (you'll also
      need the new config.guess and config.sub from the previous commit).
      39318542
  9. 03 Apr, 2000 1 commit
    • rrt's avatar
      [project @ 2000-04-03 15:24:21 by rrt] · a0b380bb
      rrt authored
      Stopped getourtimeofday() being called under mingwin.
      MBlock.c: changed one instance of 128 * 1024 * 1024 into SIZE_RESERVED_POOL
      and added a TODO comment (bug in is_heap_alloced(), which won't work if
      more than one megablock is ever allocated).
      a0b380bb
  10. 22 Jan, 2000 1 commit
  11. 15 Dec, 1999 1 commit
  12. 16 Sep, 1999 1 commit
  13. 11 Mar, 1999 1 commit
  14. 03 Mar, 1999 1 commit
    • sof's avatar
      [project @ 1999-03-03 19:04:56 by sof] · 9bebeb69
      sof authored
      Added is_heap_alloced() to the API - returns true if an address is
      within the range of addresses that we've been given back from the
      OS.
      
      Only needed for Win32 DLLs, so it's only defined when compiling up
      a Win32 RTS DLL.
      9bebeb69
  15. 05 Feb, 1999 1 commit
  16. 26 Jan, 1999 1 commit
  17. 25 Jan, 1999 1 commit
  18. 18 Jan, 1999 2 commits
  19. 14 Jan, 1999 1 commit
    • sof's avatar
      [project @ 1999-01-14 18:31:17 by sof] · 8b7dc908
      sof authored
      Forgot to commit this before Christmas...on Win32 platforms use
      VirtualAlloc() instead CreateFileMapping()&friends to ask for
      mega-blocks from the OS. Windows 95-friendlier.
      8b7dc908
  20. 13 Jan, 1999 1 commit
    • simonm's avatar
      [project @ 1999-01-13 17:25:37 by simonm] · 4391e44f
      simonm authored
      Added a generational garbage collector.
      
      The collector is reliable but fairly untuned as yet.  It works with an
      arbitrary number of generations: use +RTS -G<gens> to change the
      number of generations used (default 2).
      
      Stats: +RTS -Sstderr is quite useful, but to really see what's going
      on compile the RTS with -DDEBUG and use +RTS -D32.
      
      ARR_PTRS removed - it wasn't used anywhere.
      
      Sanity checking improved:
      	- free blocks are now spammed when sanity checking is turned on
      	- a check for leaking blocks is performed after each GC.
      4391e44f
  21. 02 Dec, 1998 1 commit