1. 04 Feb, 2002 24 commits
    • sof's avatar
      [project @ 2002-02-04 20:26:25 by sof] · cc517f07
      sof authored
    • sof's avatar
      [project @ 2002-02-04 20:25:39 by sof] · ea0e6441
      sof authored
      startupHaskell: Scheduler startup now handles task creation
    • sof's avatar
      [project @ 2002-02-04 20:24:14 by sof] · e53c9fc7
      sof authored
      Factor out the task handling into separate 'module'.
      [Tasks represent native threads that execute STG code, with this
       module providing the API which the Scheduler uses to control
       their creation and destruction.]
    • sof's avatar
      [project @ 2002-02-04 20:21:16 by sof] · 2374f2fd
      sof authored
      - sm_mutex is now a Mutex (not a pthread_mutex_t).
      - sm_mutex lock/unlocks are only done for SMP builds.
    • sof's avatar
      [project @ 2002-02-04 20:18:26 by sof] · bf96cc34
      sof authored
      - renamed MutexVar to Mutex, CondVar to Condition.
      - added yieldThread().
      - simplified/specialised type of entry point to new (native) threads;
        now takes no args & returns no result.
    • sof's avatar
      [project @ 2002-02-04 20:14:56 by sof] · 237d1510
      sof authored
      simplified startup of this 'sub-system', initCapabilities() takes care of it all
    • sof's avatar
      [project @ 2002-02-04 20:12:08 by sof] · 73064dcf
      sof authored
      stat_getElapsedTime(): now visible when RTS_SUPPORTS_THREADS is defined (was: SMP only)
    • sof's avatar
      [project @ 2002-02-04 20:10:47 by sof] · 53057d6f
      sof authored
      moved {ACQUIRE,RELEASE}_LOCK to OSThreads.h
    • sewardj's avatar
      [project @ 2002-02-04 17:09:02 by sewardj] · 5316d543
      sewardj authored
      Also implement MO_32U_to_8U for sparc.  sigh.
    • sewardj's avatar
      [project @ 2002-02-04 16:47:47 by sewardj] · 4e408d57
      sewardj authored
      Implement missing MachOp, MO_8U_to_32U, for sparc.  (duh!)
    • sewardj's avatar
      [project @ 2002-02-04 16:30:20 by sewardj] · c5ab8000
      sewardj authored
      Adding section descriptions, for ELF: don't record sections satisfying
         size == 0
      The latter condition is really an optimisation based on knowledge of
      what queries will be made of the table.  Still, seems to work, and
      reduces the number of sections in the list by about a factor of 3,
      so hopefully will improve GC performance in GHCi.
      If you get wierd GC problems in GHCi ... this may be to blame.
    • simonmar's avatar
      [project @ 2002-02-04 13:59:48 by simonmar] · 5881f6a5
      simonmar authored
    • sewardj's avatar
      [project @ 2002-02-04 13:54:53 by sewardj] · 3be6a230
      sewardj authored
      Expand out use of modifyIORef because 4.08.2 doesn't have that.
    • simonmar's avatar
      [project @ 2002-02-04 12:23:02 by simonmar] · bc07c299
      simonmar authored
      HC_OPTS is now used in both .c and .hc compilations (again).
    • sewardj's avatar
      [project @ 2002-02-04 12:15:39 by sewardj] · 5ed6149d
      sewardj authored
      Start to record some stuff about GHCi.
    • simonpj's avatar
      [project @ 2002-02-04 12:14:50 by simonpj] · 1624ef3b
      simonpj authored
      Add a bit of documentation on implicit params
    • simonmar's avatar
      [project @ 2002-02-04 12:09:44 by simonmar] · 75d25e19
      simonmar authored
      oops, fix HC_OBJS for non-normal ways.
    • simonpj's avatar
      [project @ 2002-02-04 11:59:55 by simonpj] · 18dbe364
      simonpj authored
      	Improve type validity checking
      Two main effects here
      a) Type synonyms can be unboxed tuples
      	tupe T = (# Int, Int #)
      	f :: Int -> T
      b) Hoisting works for implicit parameters
      	f :: Int -> (?x::Int) => Int
    • simonpj's avatar
      [project @ 2002-02-04 11:58:30 by simonpj] · 41aba23a
      simonpj authored
      Correct assertion
    • simonpj's avatar
      [project @ 2002-02-04 11:57:58 by simonpj] · af9d3183
      simonpj authored
      Document hoisting and implicit quantification
    • simonmar's avatar
      [project @ 2002-02-04 11:49:33 by simonmar] · 1ba0b04c
      simonmar authored
      Tighten up syntax w.r.t. Haskell 98; this is disallowed:
      	(a `op` b) = ...
      since a parenthesised lhs must be followed by at least one parameter.
    • sewardj's avatar
      [project @ 2002-02-04 10:48:11 by sewardj] · cbebc113
      sewardj authored
      Clarify explaination about problems with x87 FPU stack invalid exceptions.
    • chak's avatar
      [project @ 2002-02-04 09:05:45 by chak] · f539427b
      chak authored
      Conformed the FFI libraries to meet the FFI Addendum 1.0 specification (except
      hs_init() and friends).
    • chak's avatar
      [project @ 2002-02-04 03:40:31 by chak] · 0299e1a1
      chak authored
      Foreign import/export declarations now conform to FFI Addendum Version 1.0
      * The old form of foreign declarations is still supported, but generates
        deprecation warnings.
      * There are some rather exotic old-style declarations which have become
        invalid as they are interpreted differently under the new scheme and there
        is no (easy) way to determine which style the programmer had in mind (eg,
        importing a C function with the name `wrapper' where the external name is
        explicitly given will not work in some situations - depends on whether an
        `unsafe' was specified and similar things).
      * Some "new" old-style forms have been introduced to make parsing a little bit
        easier (ie, avoid shift/reduce conflicts between new-style and old-style
        grammar rules), but they are few, arcane, and don't really hurt (and I won't
        tell what they are, you need to find that out by yourself ;-)
      * The FFI Addendum doesn't specify whether a header file that is requested for
        inclusion by multiple foreign declarations should be included only once or
        multiple times.  GHC at the moment includes an header as often as it appears
        in a foreign declaration.  For properly written headers, it doesn't make a
        difference anyway...
      * Library object specifications are currently silently ignored.  The feature
        was mainly requested for external calls in .NET (ie, calls which invoke C
        routines when Haskell is compiled to ILX), but those don't seem to be
        supported yet.
      * Foreign label declarations are currently broken, but they were already
        broken before I started messing with the stuff.
      The code is moderately tested.  All modules in lib/std/ and hslibs/lang/
      (using old-style declarations) still compile fine and I have run a couple of
      tests on the different forms of new-style declarations.
  2. 03 Feb, 2002 2 commits
    • sof's avatar
      [project @ 2002-02-03 17:08:55 by sof] · a68338c1
      sof authored
      document the environment variable expansion done in input package specifications
    • sof's avatar
      [project @ 2002-02-03 17:06:12 by sof] · 5f67cbb7
      sof authored
      Provide support for authors that want to distribute packages, by
      expanding occurrences of "${foo}" in an input package spec with
      the value of the 'foo' environment variable. This permits easy
      configuration at install-time, e.g.,
        $ libdir=/opt/haskell/packages/lib ghc-pkg -a < NewPackage.pkg
      [Clearly, a separate preprocessing pass using some other tool could
       provide identical functionality. However, the benefits to the
       package author of not having to depend on such a tool being present
       on a user's box was considered more important.
  3. 02 Feb, 2002 1 commit
  4. 01 Feb, 2002 8 commits
  5. 31 Jan, 2002 5 commits