This project is mirrored from Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 18 Dec, 2016 1 commit
    • Ryan Scott's avatar
      Fix #12998 by removing CTimer · 513eb6a0
      Ryan Scott authored
      CTimer is a wrapper around `timer_t`, which is a typedef for `void*`
      on most platforms. The issue is that GHC's `FPTOOLS_CHECK_HTYPE` is not robust
      enough to discern pointer types from non-pointer types, so it mistakenly labels
      `timer_t` as a `Double` or `Int32` (depending on how many bits a pointer takes
      up on your platform). This wreaks havoc when trying to give it certain type
      class instances, as noted in
      For now, the simplest thing to do would be removing `CTimer`, since:
      1. The original author (@DanielG) didn't have a particular use in mind for
         `timer_t` when he fixed #12795.
      2. `CTimer` hasn't appeared in a release of `base` yet.
      Fixes #12998.
      Reviewers: austin, hvr, bgamari, DanielG, trofi
      Reviewed By: bgamari, trofi
      Subscribers: thomie, DanielG, erikd
      Differential Revision:
      GHC Trac Issues: #12795, #12998
  2. 16 Dec, 2016 1 commit
  3. 02 Oct, 2016 1 commit
  4. 10 Sep, 2016 1 commit
    • Tamar Christina's avatar
      Add platform warning to Foreign.C.Types · 710f21cc
      Tamar Christina authored
      The generated documentation for thhe Foreign.C.Types
      module is generated based on the platform which ran Haddock.
      This is generating incorrect types for e.g. Windows.
      Add a disclaimer to the top of the page to ask people to
      keep this in mind.
      Test Plan: make documentation and inspect Haddock
      Reviewers: erikd, austin, hvr, bgamari
      Reviewed By: erikd
      Subscribers: RyanGlScott, #ghc_windows_task_force, thomie
      Differential Revision:
      GHC Trac Issues: #12586
  5. 01 May, 2016 1 commit
  6. 07 Mar, 2015 1 commit
  7. 27 May, 2014 1 commit
    • Herbert Valerio Riedel's avatar
      Replace DeriveDataTypeable by AutoDeriveTypeable · 6ed54303
      Herbert Valerio Riedel authored
      This is a first step towards addressing #9111
      This results in the following additional Typeable (exported) instances
      being generated (list was compiled by diff'ing hoogle txt output):
        instance Typeable CFile
        instance Typeable 'CFile
        instance Typeable CFpos
        instance Typeable 'CFpos
        instance Typeable CJmpBuf
        instance Typeable 'CJmpBuf
        instance Typeable ChItem
        instance Typeable QSem
        instance Typeable ID
        instance Typeable 'ID
        instance Typeable CONST
        instance Typeable Qi
        instance Typeable Qr
        instance Typeable Mp
        instance Typeable ConstrRep
        instance Typeable Fixity
        instance Typeable 'Prefix
        instance Typeable 'Infix
        instance Typeable Constr
        instance Typeable DataType
        instance Typeable DataRep
        instance Typeable Data
        instance Typeable HasResolution
        instance Typeable IsList
      Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <>
  8. 17 Sep, 2013 2 commits
  9. 15 Feb, 2013 1 commit
  10. 08 May, 2012 1 commit
  11. 21 Feb, 2012 1 commit
  12. 20 Oct, 2011 1 commit
  13. 18 Jun, 2011 1 commit
  14. 24 Apr, 2011 2 commits
  15. 28 Jan, 2011 1 commit
  16. 06 Jul, 2009 1 commit
  17. 20 Aug, 2008 1 commit
  18. 16 Jun, 2008 1 commit
  19. 08 Mar, 2008 1 commit
  20. 13 Apr, 2007 1 commit
  21. 10 Oct, 2005 1 commit
  22. 11 Jan, 2005 1 commit
  23. 06 Nov, 2004 1 commit
    • panne's avatar
      [project @ 2004-11-06 13:01:18 by panne] · ba2b38ae
      panne authored
      * Changed some '#include "ghcconfig.h"' to '#include "HsBaseConfig.h"' (or added
        the latter), tracking the recent autoconf-related changes.
      * Continued my crusade against CVS keywords.
      * Made CTypes.h self-contained.
      * Protected headers against multiple inclusions.
  24. 13 Aug, 2004 1 commit
  25. 13 Jun, 2004 1 commit
    • panne's avatar
      [project @ 2004-06-13 21:03:46 by panne] · 67a040b2
      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.
  26. 13 Oct, 2003 1 commit
  27. 12 Sep, 2003 1 commit
  28. 29 Jul, 2003 1 commit
  29. 24 Jul, 2003 1 commit
    • ralf's avatar
      [project @ 2003-07-24 12:19:57 by ralf] · 88738f0e
      ralf authored
      Major refactoring of Data/Generics.
      This also affects the compiler (because of deriving issues).
      This is an intermediate commit.
      The library is supposed to compile fine.
      But the deriving stuff for Data needs to be revised.
      The testsuite for Data/Generics will not pass.
      gread is broken at the moment.
      So it is strongly recommended not to cvs upd for a few hours or a day.
      Detailed description of changes:
      - Split up Data/Dynamic into Data/Typeable and Data/Dynamic.
        (This makes clear what part is about TypeReps and cast vs.
         dynamics. The latter is not needed by Data/Generics.)
      - Renamed Data/include/Dynamic.h -> Typeable.h to end confusion.
      - Split up Data/Generics.hs in a set of modules.
      - Revised class Data:
        - Got rid of gunfold but added fromConstr as more primtive one
        - Revised representations of constructors
        - Revised treatment of primitive types
      - Revised type of gmapQ; preserved old gmapQ as gmapL
      - Added a module Data/Types.hs for treatment of types as values.
      This is going somewhere.
  30. 22 May, 2003 1 commit
  31. 26 Mar, 2003 1 commit
  32. 29 Sep, 2002 1 commit
  33. 10 Sep, 2002 3 commits
  34. 09 Sep, 2002 1 commit
  35. 06 Sep, 2002 2 commits
    • simonmar's avatar
      [project @ 2002-09-06 14:38:15 by simonmar] · aaa77a22
      simonmar authored
      Make it build on mingw32, with a cut-down set of types
    • simonmar's avatar
      [project @ 2002-09-06 14:34:15 by simonmar] · 700db304
      simonmar authored
      Partial rewrite of the POSIX library.
      The main purpose of this sweep is to remove the last dependencies of
      the compiler on hslibs.  When I've committed the associated compiler
      changes, only the 'base' package will be required to bootstrap the
      compiler.  Additionally to build GHCi, the 'readline' and 'unix'
      packages will be required.
      The new POSIX library lives mostly in libraries/unix, with a few bits
      required for compiler bootstrapping in libraries/base.  The 'base'
      package is mostly free of hsc2hs code to make bootstrapping from HC
      files easier, but the 'unix' package will use hsc2hs liberally.
      The old POSIX library continues to provide more-or-less the same
      interface as before, although some of the types are more correct now
      (previously lots of POSIX types were just mapped to Int).  The new
      interface is largely the same as the old, except that some new
      functionality from the latest POSIX spec has been added (eg. symbolic
      So far, the new POSIX library has signal support, directory/file
      operations and lots of stuff from unistd.h.  The module names are:
      	The main dude, exports everything
      	All the POSIX types, using the same naming scheme as
              Foreign.C.Types, Eg. CUid, COff, etc.  Many of these types
              were previously exported by GHC.Posix.
              Additionally exports the "nicer" names used by the old POSIX
      	library for compatibility (eg. ProcessID == CPid, FileMode ==
      	CMode, etc.)
      	All reasonable instances are derived for these types.
      	Signal support, contains most of which was in PosixProcPrim before.
      	The RTS interface to the signal handling support has been
      	rationalised slightly.
       	Directory support, most were in PosixFiles before.
      	File operations, most were in PosixFiles before.
      	(for want of a better name) Miscellaneous bits that mostly come
      	from the unistd.h header file.  PosixProcEnv before.
      The rest of the library should pan out like so:
        System.Posix.Error   (maybe)
      (I've no doubt broken Win32 support, but I'm checking the build at the moment).