1. 23 Nov, 2004 1 commit
    • ross's avatar
      [project @ 2004-11-23 12:35:06 by ross] · 46237e9c
      ross authored
      Make the X11 and HGL packages more independent, and pass configuration
      parameters to package.conf.in via header files.
      
      Also removed residual traces of OpenGL/GLUT/OpenAL from mk/config.mk.in
      46237e9c
  2. 22 Nov, 2004 7 commits
  3. 21 Nov, 2004 4 commits
    • panne's avatar
      [project @ 2004-11-21 22:53:31 by panne] · ee0e16d4
      panne authored
      Pushed down OpenGL/GLUT/OpenAL autoconf stuff to the respective directories.
      All packages are now built automatically if possible and if they are not
      explicitly disabled. NOTE: The "--enable-hopengl" option is now split into
      "--enable-opengl" and "--enable-glut".
      ee0e16d4
    • desrt's avatar
      [project @ 2004-11-21 22:25:23 by desrt] · a1947dc7
      desrt authored
      rtsconfig, smrep: fixes to not put info next to code (like ia64)
      machregs: define registers for powerpc64 - same as ppc32
      tailcalls: for now do tailcalls as normal calls. (ok on powerpc since
                 calls don't grow the stack and we don't care about LR anyway)
      a1947dc7
    • desrt's avatar
      [project @ 2004-11-21 22:18:46 by desrt] · 0181f5b8
      desrt authored
      Added an StgRun for powerpc64/Linux
      Fixed a typo in the code for powerpc32 Linux and Darwin
      0181f5b8
    • panne's avatar
      [project @ 2004-11-21 12:13:23 by panne] · 60f2f165
      panne authored
      Fixed include paths. Thinking about the convoluted dependencies between ghc,
      ghc-pkg and libraries really makes me dizzy... Some cleanup and simplification
      is needed here *urgently*, this stuff is currently beyond my grasp.
      60f2f165
  4. 20 Nov, 2004 2 commits
  5. 19 Nov, 2004 2 commits
  6. 18 Nov, 2004 3 commits
  7. 17 Nov, 2004 2 commits
    • sof's avatar
      [project @ 2004-11-17 19:07:38 by sof] · 900ca61d
      sof authored
      Expose Win32 console event handling to the user.
      
      Added RTS support for registering and delivering console events quite
      a while ago (rts/win32/ConsoleHandler.c), but got bored with it before
      completing the job. Here's the concluding commit; it does the following:
      
      - new module, base/GHC/ConsoleHandler.hs which supports registering of
        console event handlers (the null module on plats other than mingw).
      - special handling of aborted async read()s on 'standard input' in
        rts/win32/IOManager.c (together with GHC.Conc.asyncRead). See comments
        in that IOManager.c as to why this is needed.
        [ Any other code that performs blocking I/O on 'standard input' will
          need to be tweaked too to be console event handler/signal friendly.]
      - for now, disable the delivery of 'close' events (see
        rts/win32/ConsoleHandler.c:generic_handler() for reasons why)
      
      Feel free to hoik GHC/ConsoleHandler.hs around the lib hierarchy to wherever
      is considered more fitting. Unifying functionality between System.Posix.Signals
      and GHC.ConsoleHandler is one (obvious) thing to do.
      
      -- Demonstrating GHC.ConsoleHandler use; win32 only
      module Main(main) where
      
      import GHC.ConsoleHandler
      import System.IO  (hFlush, stdout)
      import GHC.Conc   (threadDelay)
      
      main :: IO ()
      main = do
        installHandler (Catch (\ _ -> putStrLn "Caught console event; ignoring" >> hFlush stdout))
        loop
       where
        loop = do
          threadDelay 100000
          ls <- getLine
          putStrLn ls
          loop
      --
      900ca61d
    • josefs's avatar
      [project @ 2004-11-17 18:31:08 by josefs] · fa9a03c1
      josefs authored
      Needed to include a header file in Compat/Directory on windows
      fa9a03c1
  8. 16 Nov, 2004 2 commits
  9. 15 Nov, 2004 1 commit
  10. 14 Nov, 2004 3 commits
  11. 13 Nov, 2004 1 commit
  12. 12 Nov, 2004 11 commits
  13. 11 Nov, 2004 1 commit