1. 13 Aug, 2004 2 commits
  2. 10 Aug, 2004 1 commit
  3. 09 Aug, 2004 2 commits
  4. 03 Aug, 2004 1 commit
  5. 30 Jul, 2004 4 commits
  6. 28 Jul, 2004 1 commit
  7. 27 Jul, 2004 1 commit
  8. 26 Jul, 2004 2 commits
  9. 23 Jul, 2004 4 commits
  10. 11 Jul, 2004 1 commit
    • panne's avatar
      [project @ 2004-07-11 09:20:07 by panne] · e339d27d
      panne authored
      Use "flat" names for the type constructors of Ptr/StablePtr/IORef. This might be
      debatable, but at least it is consistent with the rest of the types.
      e339d27d
  11. 01 Jul, 2004 3 commits
  12. 29 Jun, 2004 1 commit
    • panne's avatar
      [project @ 2004-06-29 19:10:47 by panne] · e2f77479
      panne authored
      Centralized compiler differences for requesting additional heap/stack in a
      single place. Only tested for bootstrapping via hbc, and this needs 170M heap
      for Language/Haskell/Parser.hs. There seems to be a "small" space leak here...
      :-]
      e2f77479
  13. 25 Jun, 2004 1 commit
  14. 23 Jun, 2004 1 commit
  15. 22 Jun, 2004 1 commit
    • ross's avatar
      [project @ 2004-06-22 12:45:55 by ross] · 1fac63ee
      ross authored
      Change the interface (but not the implementation) to match the FFI spec:
      
      * added charIsRepresentable, *CAString and *CWString
      
      * currently (and in violation of the spec), fooCString = fooCAString
      
      * The WString versions use UTF-16 under Windows and UTF-32 elsewhere
        (valid only if the compiler defines __STDC_ISO_10646__).
      1fac63ee
  16. 16 Jun, 2004 1 commit
  17. 15 Jun, 2004 3 commits
  18. 14 Jun, 2004 1 commit
  19. 13 Jun, 2004 3 commits
    • panne's avatar
      [project @ 2004-06-13 21:03:46 by panne] · bccd35aa
      panne authored
      Changes related to arithmetic types:
      
      * Renamed macros NUMERIC_FOO to ARITHMETIC_FOO to match C99-speak
      
      * ARITHMETIC_TYPEs now have a Real instance, otherwise they are quite useless.
        Note that this differs from the FFI spec, but the spec should very probably
        changed in this respect.
      
      * Some changes to fix the wrong assumption that CTime/CClock are integral types,
        C99 in fact guarantees only that they are arithmetic types. This has been
        accomplished by using
      
           realToInteger = round . realToFrac :: Real a => a -> Integer
      
        instead of fromIntegral for CTime/CClock. I'm not sure if we could do better,
        going via Double seems to be overkill, but I couldn't think of a better way.
        GHC could e.g. use RULES here. Improvements welcome.
      bccd35aa
    • panne's avatar
      [project @ 2004-06-13 20:26:03 by panne] · ea98be46
      panne authored
      Added missing dependencies of Haskell files to header files they include
      ea98be46
    • panne's avatar
      [project @ 2004-06-13 17:16:40 by panne] · 9bc25029
      panne authored
      The FFI report does not mention that CClock and CTime have instances for
      Bounded, Real, Integral, and Bits.
      9bc25029
  20. 12 Jun, 2004 1 commit
  21. 02 Jun, 2004 5 commits
    • simonmar's avatar
      [project @ 2004-06-02 16:17:20 by simonmar] · 2a0be376
      simonmar authored
      Add a comment about fdGetMode, which doesn't work properly on Windows
      2a0be376
    • simonmar's avatar
      [project @ 2004-06-02 16:09:58 by simonmar] · 35bc6248
      simonmar authored
      __hscore_PrelHandle_{send,recv}: make these mingw32-only
      35bc6248
    • simonmar's avatar
      [project @ 2004-06-02 16:07:17 by simonmar] · 77ff2496
      simonmar authored
      - Win32: when using the threaded RTS, bypass the Async IO stuff and
        just make blocking calls to read()/write().
      
        This gives a significant performance boost to programs doing lots of
        multithreaded I/O: in fact, a test program I have which does I/O
        over 500 pipes simultaneously goes twice as fast with this change,
        and is even faster than the non-threaded RTS (Windows only - Unix
        changes are in the pipeline too).
      
      - openFd: take an extra parameter to specify socketness of the file
        descriptor rather than assuming that all streams are sockets.  Some
        streams (eg. pipes) aren't sockets.
      77ff2496
    • simonmar's avatar
      [project @ 2004-06-02 16:00:02 by simonmar] · 01026245
      simonmar authored
      Add __hscore_PrelHandle_{send,recv}
      01026245
    • simonmar's avatar
      [project @ 2004-06-02 12:35:11 by simonmar] · 00e7fcee
      simonmar authored
      The lock arrays are too small on Windows, leading to buffer overruns
      and crashes when a program opens too many files.
      
      The problem is that on Windows, we shouldn't use FD_SETSIZE to get the
      max number of file descriptors: this is set to 64 in the mingw
      includes.  The real maximum is 2048 (according to the crt sources), so
      we now hardwire that in.
      
      Also, put in a runtime check that we aren't overruning this array.
      
      MERGE TO STABLE
      00e7fcee