1. 25 Jun, 2000 5 commits
  2. 24 Jun, 2000 1 commit
  3. 23 Jun, 2000 4 commits
    • rrt's avatar
      [project @ 2000-06-23 14:01:09 by rrt] · 5552a779
      rrt authored
      Get rid of hand-maintained HSrts.def, and generate it automatically.
      5552a779
    • sewardj's avatar
      [project @ 2000-06-23 13:13:10 by sewardj] · 3c9488f6
      sewardj authored
      markHugsObjects() and lookupSection(): don't use debugging versions
      of macros module(), name(), tycon(), etc, even when debugging.
      Also, in lookupSection(), return immediately when not in combined mode.
      Together, these dramatically reduce the cost of GC in Hugs (by about
      a factor of 15 for nofib/real/anna).
      3c9488f6
    • sewardj's avatar
      [project @ 2000-06-23 12:09:00 by sewardj] · ff0d01ea
      sewardj authored
      Minor mods to make fully-optimised builds of Hugs work again.
      ff0d01ea
    • sewardj's avatar
      [project @ 2000-06-23 09:41:11 by sewardj] · e46b131d
      sewardj authored
      Changes to make DietHEP.dll usable from Visual Basic:
      * Export DH_LoadLibrary and DH_GetProcAddress using stdcall, not ccall.
      * Append all messages to a logfile, diet_hep_logfile.txt, for debugging.
      e46b131d
  4. 22 Jun, 2000 7 commits
    • panne's avatar
      [project @ 2000-06-22 16:19:16 by panne] · 415765b5
      panne authored
      * -syslib => -package
      * mkdependHS => ghc -M
      
      *** please merge ***
      415765b5
    • panne's avatar
      [project @ 2000-06-22 16:18:10 by panne] · 6c47f615
      panne authored
      * Mentioned CTypesISO
      * Synched comments about MutableArray with reality
      
      *** please merge ***
      6c47f615
    • panne's avatar
      [project @ 2000-06-22 16:16:46 by panne] · c820dcf3
      panne authored
      Removed explicit usage of hslibs/docs, it belongs to
      ghc/docs/set. (untested)
      *** please merge ***
      c820dcf3
    • simonpj's avatar
      [project @ 2000-06-22 14:45:41 by simonpj] · 5f352824
      simonpj authored
      *** NO NEED TO MERGE WITH 4.07 ***
          (but it would do no harm)
      
      * Improve an error message when overlapping instance
        declarations are present.  Carl Witty reported this
        infelicitous message.  The problem arises for this code:
      
      	class Foo a
      	class (Foo a) => Bar a
      	
      	data Dat a = Dat
      	
      	instance Foo (Dat a)
      	instance Foo (Dat Integer)
      	
      	instance Bar (Dat a)
      
        The instance decl for Bar should say
      
      	instance Foo (Dat a) => Bar (Dat a) 
      
        because the overlapping instance decls for Foo can't
        be resolved (or at least might vary depending on how
        a is instantiated).
      5f352824
    • simonpj's avatar
      [project @ 2000-06-22 14:41:29 by simonpj] · fad3991b
      simonpj authored
      *** MERGE WITH 4.07 ***
      
      * ParseIface.y should reject newtypes with no
        definition:
      	newtype T a ;
        The rest of the compiler falls over if it sees such a thing.
      fad3991b
    • simonpj's avatar
      [project @ 2000-06-22 14:40:22 by simonpj] · 41cd7a86
      simonpj authored
      *** MERGE WITH 4.07 ***
      
      * The divide by zero check in the constant-folding
        rules was testing the numerator not denominator!
        (For Float and Double.)
      41cd7a86
    • rrt's avatar
      [project @ 2000-06-22 12:02:55 by rrt] · 4efbac79
      rrt authored
      Add greencard support.
      4efbac79
  5. 21 Jun, 2000 1 commit
    • chak's avatar
      [project @ 2000-06-21 09:13:09 by chak] · 25ee7c9e
      chak authored
      As suggested by SimonM, moved an overview over the three components of the FFI
      into the FFI document included as Chapter 7 into the GHC user guide.
      
      Open questions:
      
      * How can I make cross references to the doc in hslibs/?  There are already
        references to hslibs sections in other parts of ghc's user guide, but they
        are not correctly resolved when I generate html from the sgml files.
      
      * There is now a (little) overlap with material in 6.5 (GHC Language Features:
        The foreign interface).  I would say, we could actually leave this as it is,
        as 6.5 goes on to describe GHC specifics.
      25ee7c9e
  6. 20 Jun, 2000 10 commits
  7. 19 Jun, 2000 8 commits
    • panne's avatar
      [project @ 2000-06-19 21:28:00 by panne] · 1ef14bea
      panne authored
      * makeForeignObj => newForeignObj
      
      * Tried to make type mapping table look less strange, but this
        succeeded only a little bit. Could somebody else have a look?
      1ef14bea
    • simonmar's avatar
      [project @ 2000-06-19 15:13:43 by simonmar] · 7c342f5e
      simonmar authored
      oops, backout accidental commit
      7c342f5e
    • chak's avatar
      [project @ 2000-06-19 13:37:50 by chak] · 74853437
      chak authored
      Updated the building from .hc section.
      
      *MERGE*
      74853437
    • simonmar's avatar
      [project @ 2000-06-19 13:28:35 by simonmar] · 43956364
      simonmar authored
      Time fixes from Michael Weber <michael.weber@post.rwth-aachen.de>:
      
        * `toClockTime' previously didn't honor the `tz' field of a
          `CalendarTime', which led to time warping when applying
      
            => (toUTCTime (toClockTime ... (toUTCTime (toClockTime someTime) ... )))
      
          continuously.
      
          Now it accepts at least <local>- and UTC-encoded `CalendarTime's
          (TODO: test, whether all timezones work) and converts them
          correctly to <secs from epoch>-format (which is always UTC, as one
          might have guessed).
      
        * `addToClockTime' now works.
      
          Previously, `tz' seconds were added(!) when used like:
      
            => addToClockTime noTimeDiff someTime
      
          which is clearly wrong.
          Now, the following (hopefully) always holds
      
            => someTime == (addToClockTime noTimeDiff someTime)
      
        * `diffClockTimes' works correctly, and is the dual to
          `addToClockTime', i.e.
      
            => diff == ((addToClockTime diff someTime) `diffClockTimes` someTime)
      
          should now hold for all diff, someTime
      
          Previously, it reports ugly diffs at {min,hour,day,...}-breaks,
          for example:
      
            => "2000/06/18 01:00 UTC"
                  `diffClockTimes` "2000/06/17 23:00 UTC" == 1 day, -22 hours
      
          whereas now it emits "7200 secs". This number can be converted
          with `normalizeTimeDiff' to "2 hours".
      
        * added `normalizeTimeDiff', which calculates year, month, days,
          etc. out of an unnormalized `TimeDiff' (generated by
          `diffClockTimes', for example)
      
        * `formatTimeDiff': added the missing "%c" case. The
          format is proprietary, though... Is there a nicer one?
      43956364
    • simonmar's avatar
      [project @ 2000-06-19 12:17:59 by simonmar] · cccc437a
      simonmar authored
      ignore -no-link-chk for backwards compat.
      cccc437a
    • simonmar's avatar
      [project @ 2000-06-19 12:09:22 by simonmar] · 24d08752
      simonmar authored
      remove tests subdir
      24d08752
    • simonmar's avatar
      [project @ 2000-06-19 10:59:56 by simonmar] · 40807a3a
      simonmar authored
      Give 'ghc -E' the traditional behaviour: the output is dumped to
      stdout.  The new driver also generates <file>.cpp.
      40807a3a
    • rrt's avatar
      [project @ 2000-06-19 10:05:38 by rrt] · f6ecf2bd
      rrt authored
      Changed SUBDIRS from users_guide to set (the former doesn't build any more
      except as part of the latter).
      f6ecf2bd
  8. 18 Jun, 2000 4 commits