ghc-hetmet.git
20 years ago[project @ 2004-03-13 00:56:45 by sof] Approx_11550_changesets_converted
sof [Sat, 13 Mar 2004 00:56:45 +0000 (00:56 +0000)]
[project @ 2004-03-13 00:56:45 by sof]
tidy up conditional forkProcess() support

20 years ago[project @ 2004-03-12 21:37:27 by ross]
ross [Fri, 12 Mar 2004 21:37:27 +0000 (21:37 +0000)]
[project @ 2004-03-12 21:37:27 by ross]
Deal gracefully with arrow commands where an expression is expected,
instead of panicking.  (Bug reported by Isaac Jones)

merge to STABLE

20 years ago[project @ 2004-03-12 10:16:34 by simonmar]
simonmar [Fri, 12 Mar 2004 10:16:34 +0000 (10:16 +0000)]
[project @ 2004-03-12 10:16:34 by simonmar]
clean up pretty printing slightly

20 years ago[project @ 2004-03-11 14:34:22 by simonpj]
simonpj [Thu, 11 Mar 2004 14:34:24 +0000 (14:34 +0000)]
[project @ 2004-03-11 14:34:22 by simonpj]
Fix a nasty and long-standing bug in the handling of functional dependencies.

The story is told in comments with TcSimplify.tcSimplifyRestricted.  We were
simpifying a group of constraints *twice*: once to establish the type vars to
quantify over, and once "for real" but less brutally.  Unfortunately, the
less-brutally part meant that we did less improvement, which in turn meant
that an invariant (no captured constraints) was violated.  Consequential
bizarre results.

The test is typecheck/should_compile/tc177

20 years ago[project @ 2004-03-11 14:31:56 by simonpj]
simonpj [Thu, 11 Mar 2004 14:31:56 +0000 (14:31 +0000)]
[project @ 2004-03-11 14:31:56 by simonpj]
Better printing for LHsBinds

20 years ago[project @ 2004-03-11 14:31:35 by simonpj]
simonpj [Thu, 11 Mar 2004 14:31:35 +0000 (14:31 +0000)]
[project @ 2004-03-11 14:31:35 by simonpj]
Sanity checking

20 years ago[project @ 2004-03-11 14:31:13 by simonpj]
simonpj [Thu, 11 Mar 2004 14:31:13 +0000 (14:31 +0000)]
[project @ 2004-03-11 14:31:13 by simonpj]
Comments

20 years ago[project @ 2004-03-11 14:29:59 by simonpj]
simonpj [Thu, 11 Mar 2004 14:29:59 +0000 (14:29 +0000)]
[project @ 2004-03-11 14:29:59 by simonpj]
Add sanity check

20 years ago[project @ 2004-03-11 14:29:29 by simonpj]
simonpj [Thu, 11 Mar 2004 14:29:29 +0000 (14:29 +0000)]
[project @ 2004-03-11 14:29:29 by simonpj]
Better layout in interppSP

20 years ago[project @ 2004-03-11 10:52:55 by simonpj]
simonpj [Thu, 11 Mar 2004 10:52:55 +0000 (10:52 +0000)]
[project @ 2004-03-11 10:52:55 by simonpj]
Fix a long-standing bug; the type checker should recover from a failure
in the default method of a class declaration, else the default method
doesn't get added to the type envt, and we get an opaque
    tcLookupGlobal: `FunnyError.$dmb' is not in scope
message.

20 years ago[project @ 2004-03-11 10:00:23 by simonmar]
simonmar [Thu, 11 Mar 2004 10:00:23 +0000 (10:00 +0000)]
[project @ 2004-03-11 10:00:23 by simonmar]
Don't call hGetArray with a size of zero (fixes read021).

20 years ago[project @ 2004-03-11 09:53:45 by simonmar]
simonmar [Thu, 11 Mar 2004 09:53:45 +0000 (09:53 +0000)]
[project @ 2004-03-11 09:53:45 by simonmar]
Add dependency on GHC.TopHandler if this is the main module.

20 years ago[project @ 2004-03-10 00:18:21 by wolfgang]
wolfgang [Wed, 10 Mar 2004 00:18:21 +0000 (00:18 +0000)]
[project @ 2004-03-10 00:18:21 by wolfgang]
Remove -static flag from non-darwin PowerPC builds
(this was a relic from the long-dead AIX support)

Merge to STABLE.

20 years ago[project @ 2004-03-08 16:08:52 by simonmar]
simonmar [Mon, 8 Mar 2004 16:08:52 +0000 (16:08 +0000)]
[project @ 2004-03-08 16:08:52 by simonmar]
Apply $libdir hack to GHCi libs in the same way as ordinary .a libs.

20 years ago[project @ 2004-03-08 12:47:41 by simonmar]
simonmar [Mon, 8 Mar 2004 12:47:41 +0000 (12:47 +0000)]
[project @ 2004-03-08 12:47:41 by simonmar]
Add small embellishment to one of the filename rules.

20 years ago[project @ 2004-03-08 11:20:53 by simonmar]
simonmar [Mon, 8 Mar 2004 11:20:53 +0000 (11:20 +0000)]
[project @ 2004-03-08 11:20:53 by simonmar]
Ignore #! lines for scripts.

20 years ago[project @ 2004-03-08 10:31:00 by stolz]
stolz [Mon, 8 Mar 2004 10:31:00 +0000 (10:31 +0000)]
[project @ 2004-03-08 10:31:00 by stolz]
-Wall police

20 years ago[project @ 2004-03-08 10:27:22 by stolz]
stolz [Mon, 8 Mar 2004 10:27:22 +0000 (10:27 +0000)]
[project @ 2004-03-08 10:27:22 by stolz]
INLINEs for Intel's icc

20 years ago[project @ 2004-03-07 17:56:35 by ross]
ross [Sun, 7 Mar 2004 17:56:36 +0000 (17:56 +0000)]
[project @ 2004-03-07 17:56:35 by ross]
if X is available, build X11 and HGL packages.

20 years ago[project @ 2004-03-05 16:04:52 by simonmar]
simonmar [Fri, 5 Mar 2004 16:04:52 +0000 (16:04 +0000)]
[project @ 2004-03-05 16:04:52 by simonmar]
Be clearer about when source files must match module names.

20 years ago[project @ 2004-03-05 16:04:05 by simonmar]
simonmar [Fri, 5 Mar 2004 16:04:05 +0000 (16:04 +0000)]
[project @ 2004-03-05 16:04:05 by simonmar]
Fail with an error if the interface file we're reading doesn't contain
the module we were expecting.

20 years ago[project @ 2004-03-05 15:09:37 by stolz]
stolz [Fri, 5 Mar 2004 15:09:37 +0000 (15:09 +0000)]
[project @ 2004-03-05 15:09:37 by stolz]
Fix #ifdef'ed flags for FreeBSD.

20 years ago[project @ 2004-03-05 15:05:28 by simonmar]
simonmar [Fri, 5 Mar 2004 15:05:28 +0000 (15:05 +0000)]
[project @ 2004-03-05 15:05:28 by simonmar]
comments

20 years ago[project @ 2004-03-05 14:12:13 by stolz]
stolz [Fri, 5 Mar 2004 14:12:13 +0000 (14:12 +0000)]
[project @ 2004-03-05 14:12:13 by stolz]
Reduce noise if there's no in-tree version of Happy.

20 years ago[project @ 2004-03-05 13:58:20 by simonmar]
simonmar [Fri, 5 Mar 2004 13:58:20 +0000 (13:58 +0000)]
[project @ 2004-03-05 13:58:20 by simonmar]
Fix a URL link

20 years ago[project @ 2004-03-03 17:11:51 by simonpj]
simonpj [Wed, 3 Mar 2004 17:11:51 +0000 (17:11 +0000)]
[project @ 2004-03-03 17:11:51 by simonpj]
Comments only

20 years ago[project @ 2004-03-03 17:10:33 by simonpj]
simonpj [Wed, 3 Mar 2004 17:10:33 +0000 (17:10 +0000)]
[project @ 2004-03-03 17:10:33 by simonpj]
Patches to configuration script for MSYS.  It's not clear that this'll
always work, because we generate paths like /c/mingw/bin, which MinGW
binaries won't understand -- but all of them seem to be fed to the
MSYS shell, which translates them to c:/mingw/bin etc.

Perhaps the Right Thing is to implement msyspath, by analogy with
cygpath, to convert /c/xxx to c:/xxx?

Anyway, this patch seems to work for now.

20 years ago[project @ 2004-03-02 22:22:48 by ralf]
ralf [Tue, 2 Mar 2004 22:22:48 +0000 (22:22 +0000)]
[project @ 2004-03-02 22:22:48 by ralf]
Once more revised some details of the Data class.
Comitting the Data.Generics* library in a second.

20 years ago[project @ 2004-03-02 13:57:55 by simonpj]
simonpj [Tue, 2 Mar 2004 13:57:55 +0000 (13:57 +0000)]
[project @ 2004-03-02 13:57:55 by simonpj]
New chapter on MSYS, filenames etc

20 years ago[project @ 2004-03-01 14:18:35 by simonmar]
simonmar [Mon, 1 Mar 2004 14:18:36 +0000 (14:18 +0000)]
[project @ 2004-03-01 14:18:35 by simonmar]
Threaded RTS improvements:

  - Make the main_threads list doubly linked.  Have threads
    remove themselves from this list when they complete, rather
    than searching for completed main threads each time around
    the scheduler loop.  This removes an O(n) loop from the
    scheduler, but adds some new constraints (basically completed
    threads must remain on the run queue until dealt with, including
    threads which have been killed by an async exception).

  - Add a pointer from the TSO to the StgMainThread struct, for
    main threads.  This avoids a number of places where we had
    to traverse the list of main threads to find the right one,
    including one place in the scheduler loop.  Adding a field to
    a TSO is cheap.

  - taskStart: we should be resetting the startingWorkerThread flag
    in here.  Not sure why we aren't; maybe this got lost at some point.

  - Use the BlockedOnCCall flags in the non-threaded RTS too.  Q: what
    should happen if a thread does a foreign call which re-enters the
    RTS, and then sends an async exception to the original thread?
    Answer: it should deadlock, which it does in the threaded RTS, and
    this commit makes it do so in the non-threaded RTS too (see
    testsuite/tests/concurrent/should_run/conc040.hs).

20 years ago[project @ 2004-03-01 14:11:01 by simonmar]
simonmar [Mon, 1 Mar 2004 14:11:01 +0000 (14:11 +0000)]
[project @ 2004-03-01 14:11:01 by simonmar]
Remove Deadlock_closure (not used any more).

20 years ago[project @ 2004-03-01 13:44:10 by simonmar]
simonmar [Mon, 1 Mar 2004 13:44:10 +0000 (13:44 +0000)]
[project @ 2004-03-01 13:44:10 by simonmar]
add a few RTS ways (combinations) I missed out

20 years ago[project @ 2004-03-01 13:34:54 by simonmar]
simonmar [Mon, 1 Mar 2004 13:34:54 +0000 (13:34 +0000)]
[project @ 2004-03-01 13:34:54 by simonmar]
Warning police, and omit a useless debugging msg in !RTS_SUPPORTS_THREADS.

20 years ago[project @ 2004-03-01 12:33:17 by simonmar]
simonmar [Mon, 1 Mar 2004 12:33:17 +0000 (12:33 +0000)]
[project @ 2004-03-01 12:33:17 by simonmar]
wibble

20 years ago[project @ 2004-03-01 10:17:53 by simonmar]
simonmar [Mon, 1 Mar 2004 10:17:53 +0000 (10:17 +0000)]
[project @ 2004-03-01 10:17:53 by simonmar]
Update version numbering policy: we now allow snapshots along the
stable branch (eg. 6.2.20040229).

20 years ago[project @ 2004-03-01 10:16:28 by simonmar]
simonmar [Mon, 1 Mar 2004 10:16:28 +0000 (10:16 +0000)]
[project @ 2004-03-01 10:16:28 by simonmar]
Update docs for RTS options and GhcRtsThreaded

20 years ago[project @ 2004-03-01 10:14:54 by simonmar]
simonmar [Mon, 1 Mar 2004 10:14:54 +0000 (10:14 +0000)]
[project @ 2004-03-01 10:14:54 by simonmar]
Add -fno-generics to SRC_HC_OPTS

20 years ago[project @ 2004-03-01 10:13:01 by simonmar]
simonmar [Mon, 1 Mar 2004 10:13:01 +0000 (10:13 +0000)]
[project @ 2004-03-01 10:13:01 by simonmar]
build target should use '::' not ':'

20 years ago[project @ 2004-03-01 09:49:48 by simonmar]
simonmar [Mon, 1 Mar 2004 09:49:48 +0000 (09:49 +0000)]
[project @ 2004-03-01 09:49:48 by simonmar]
make it compile (win32)

20 years ago[project @ 2004-02-28 15:37:09 by ralf]
ralf [Sat, 28 Feb 2004 15:37:09 +0000 (15:37 +0000)]
[project @ 2004-02-28 15:37:09 by ralf]
Revised dataTypeOf member in "deriving ( ... Data ...)".
This revised schemes relies on the updated modules
Data.Typeable and Data.Generics*.

20 years ago[project @ 2004-02-27 16:16:31 by simonmar]
simonmar [Fri, 27 Feb 2004 16:16:31 +0000 (16:16 +0000)]
[project @ 2004-02-27 16:16:31 by simonmar]
cosmetic only

20 years ago[project @ 2004-02-27 15:58:54 by simonmar]
simonmar [Fri, 27 Feb 2004 15:58:54 +0000 (15:58 +0000)]
[project @ 2004-02-27 15:58:54 by simonmar]
redo the condition-cache hack

20 years ago[project @ 2004-02-27 15:56:25 by simonmar]
simonmar [Fri, 27 Feb 2004 15:56:25 +0000 (15:56 +0000)]
[project @ 2004-02-27 15:56:25 by simonmar]
Remove an unnecessary #ifdef

20 years ago[project @ 2004-02-27 13:35:16 by simonmar]
simonmar [Fri, 27 Feb 2004 13:35:16 +0000 (13:35 +0000)]
[project @ 2004-02-27 13:35:16 by simonmar]
hs_exit(): call exitScheduler() *after* finalizeWeakPointersNow(),
because the latter needs to create/run threads.

20 years ago[project @ 2004-02-27 12:39:16 by simonmar]
simonmar [Fri, 27 Feb 2004 12:39:16 +0000 (12:39 +0000)]
[project @ 2004-02-27 12:39:16 by simonmar]
scheduleWaitThread(): don't call THREAD_RUNNABLE because the new
thread is bound, and therefore only runnable by the current OS
thread.  Calling THREAD_RUNNABLE just wakes up workers and slows
things down.

20 years ago[project @ 2004-02-26 16:49:34 by simonmar]
simonmar [Thu, 26 Feb 2004 16:49:34 +0000 (16:49 +0000)]
[project @ 2004-02-26 16:49:34 by simonmar]
waitCondition: use RELEASE_LOCK/ACQUIRE_LOCK because these check the
return value for errors.

20 years ago[project @ 2004-02-26 16:42:57 by simonmar]
simonmar [Thu, 26 Feb 2004 16:42:57 +0000 (16:42 +0000)]
[project @ 2004-02-26 16:42:57 by simonmar]
Check result of SetEvent() for errors.

20 years ago[project @ 2004-02-26 16:39:40 by simonmar]
simonmar [Thu, 26 Feb 2004 16:39:40 +0000 (16:39 +0000)]
[project @ 2004-02-26 16:39:40 by simonmar]
#include "RtsUtils.h" for barf prototype

20 years ago[project @ 2004-02-26 16:36:21 by simonmar]
simonmar [Thu, 26 Feb 2004 16:36:21 +0000 (16:36 +0000)]
[project @ 2004-02-26 16:36:21 by simonmar]
Add the usual multi-slurp protection

20 years ago[project @ 2004-02-26 16:31:44 by simonmar]
simonmar [Thu, 26 Feb 2004 16:31:44 +0000 (16:31 +0000)]
[project @ 2004-02-26 16:31:44 by simonmar]
Avoid signalling thread_ready_cond if rts_n_waiting_tasks==0.

20 years ago[project @ 2004-02-26 16:21:36 by simonmar]
simonmar [Thu, 26 Feb 2004 16:21:36 +0000 (16:21 +0000)]
[project @ 2004-02-26 16:21:36 by simonmar]
merge rev. 1.6.2.3 from ghc-6-2-branch

20 years ago[project @ 2004-02-26 16:19:32 by simonmar]
simonmar [Thu, 26 Feb 2004 16:19:32 +0000 (16:19 +0000)]
[project @ 2004-02-26 16:19:32 by simonmar]
thread_id_mutex isn't required (at least for non-SMP), since
createThread is under the Capability.

20 years ago[project @ 2004-02-26 16:14:21 by simonmar]
simonmar [Thu, 26 Feb 2004 16:14:21 +0000 (16:14 +0000)]
[project @ 2004-02-26 16:14:21 by simonmar]
no need to declare thread_ready_cond

20 years ago[project @ 2004-02-26 16:13:46 by simonmar]
simonmar [Thu, 26 Feb 2004 16:13:46 +0000 (16:13 +0000)]
[project @ 2004-02-26 16:13:46 by simonmar]
thread_ready_cond is initialised in two places

20 years ago[project @ 2004-02-26 14:49:05 by simonpj]
simonpj [Thu, 26 Feb 2004 14:49:05 +0000 (14:49 +0000)]
[project @ 2004-02-26 14:49:05 by simonpj]
Back out hiding change -- hiding should hide the qualified name too

20 years ago[project @ 2004-02-26 12:42:07 by simonpj]
simonpj [Thu, 26 Feb 2004 12:42:07 +0000 (12:42 +0000)]
[project @ 2004-02-26 12:42:07 by simonpj]
Fix a long-standing bug, whereby 'hiding' hid the qualified name as
well as the unqualified one.

This bug is not as easy to fix in the 6.2 branch, unfortunately; don't merge.

20 years ago[project @ 2004-02-26 11:41:22 by simonmar]
simonmar [Thu, 26 Feb 2004 11:41:22 +0000 (11:41 +0000)]
[project @ 2004-02-26 11:41:22 by simonmar]
oops, fix the build

20 years ago[project @ 2004-02-25 17:35:44 by simonmar]
simonmar [Wed, 25 Feb 2004 17:35:44 +0000 (17:35 +0000)]
[project @ 2004-02-25 17:35:44 by simonmar]
Feeble performance hack for the threaded RTS: instead of
allocating/releasing a new condition variable for each new call-in, we
just cache one in the RTS and re-use it for the next call.

On a little test I have here which does lots of call-ins on Windows,
this reduces the slowdown for using the threaded RTS from a factor of
7-8 down to a factor of 4-5.  I'm aiming for a factor of 2 or better...

20 years ago[project @ 2004-02-25 16:18:00 by simonmar]
simonmar [Wed, 25 Feb 2004 16:18:00 +0000 (16:18 +0000)]
[project @ 2004-02-25 16:18:00 by simonmar]
ShutdownIOManager: don't free the IOManagerState, because the worker
threads haven't necessarily died yet and might reference it again.

Apparently fixes a strange bug: I have a Haskell program which on
Windows causes the shell to exit after I run it.  I don't know what
the real cause of this is, but this is a clear bug and fixing it stops
the shell from exiting.

MERGE TO STABLE

20 years ago[project @ 2004-02-25 14:51:37 by simonpj]
simonpj [Wed, 25 Feb 2004 14:51:38 +0000 (14:51 +0000)]
[project @ 2004-02-25 14:51:37 by simonpj]
Add a -fno-full-laziness flag

20 years ago[project @ 2004-02-25 13:57:38 by simonmar]
simonmar [Wed, 25 Feb 2004 13:57:38 +0000 (13:57 +0000)]
[project @ 2004-02-25 13:57:38 by simonmar]
- For each language option, document exactly the syntax that is
  stolen from Haskell 98.

- Fix up docrot at the beginning of the chapter.

20 years ago[project @ 2004-02-25 13:54:30 by simonpj]
simonpj [Wed, 25 Feb 2004 13:54:31 +0000 (13:54 +0000)]
[project @ 2004-02-25 13:54:30 by simonpj]
Yet another fix to the -Onot optimisation that hides data type
representations in .hi files.

1.  Expose the representation if any fields are exposed

2.  Don't expose newtypes whose data-cons are abstract, unless the
    rep type is a FFI type.  (Previously we were more conservative
    and always exposed newtypes, just in case of a foreign decl.)

20 years ago[project @ 2004-02-25 11:49:14 by simonmar]
simonmar [Wed, 25 Feb 2004 11:49:15 +0000 (11:49 +0000)]
[project @ 2004-02-25 11:49:14 by simonmar]
Document -threaded and -debug options.

20 years ago[project @ 2004-02-25 11:34:29 by simonmar]
simonmar [Wed, 25 Feb 2004 11:34:30 +0000 (11:34 +0000)]
[project @ 2004-02-25 11:34:29 by simonmar]
Allow configuration of RTS ways by tweaking the GhcRTSWays variable.
Add default settings to config.mk.in, and add a comment to explain
which values make sense here.

Also, I disabled the debug_p way by default; it's of limited
usefulness to the average punter.

20 years ago[project @ 2004-02-25 11:31:24 by simonmar]
simonmar [Wed, 25 Feb 2004 11:31:24 +0000 (11:31 +0000)]
[project @ 2004-02-25 11:31:24 by simonmar]
Combined build tags get '_' between them

20 years ago[project @ 2004-02-25 11:24:34 by simonmar]
simonmar [Wed, 25 Feb 2004 11:24:34 +0000 (11:24 +0000)]
[project @ 2004-02-25 11:24:34 by simonmar]
Add missing case to allowedWith

20 years ago[project @ 2004-02-25 11:17:47 by simonmar]
simonmar [Wed, 25 Feb 2004 11:17:47 +0000 (11:17 +0000)]
[project @ 2004-02-25 11:17:47 by simonmar]
Delete options for building the debugging RTS; it is now built by default.

20 years ago[project @ 2004-02-25 11:16:20 by simonmar]
simonmar [Wed, 25 Feb 2004 11:16:20 +0000 (11:16 +0000)]
[project @ 2004-02-25 11:16:20 by simonmar]
Fix a test

20 years ago[project @ 2004-02-25 10:34:44 by simonmar]
simonmar [Wed, 25 Feb 2004 10:34:44 +0000 (10:34 +0000)]
[project @ 2004-02-25 10:34:44 by simonmar]
Add an entry to the FAQ about buffering of stdout

20 years ago[project @ 2004-02-24 17:56:00 by simonpj]
simonpj [Tue, 24 Feb 2004 17:56:00 +0000 (17:56 +0000)]
[project @ 2004-02-24 17:56:00 by simonpj]
more hi-boot documentation

20 years ago[project @ 2004-02-24 17:37:11 by simonmar]
simonmar [Tue, 24 Feb 2004 17:37:11 +0000 (17:37 +0000)]
[project @ 2004-02-24 17:37:11 by simonmar]
wibble to previous commit; forgot to save my buffer

20 years ago[project @ 2004-02-24 17:33:32 by simonmar]
simonmar [Tue, 24 Feb 2004 17:33:34 +0000 (17:33 +0000)]
[project @ 2004-02-24 17:33:32 by simonmar]
Experimental support for RTS-only "ways"

HEADS UP!  This changes the way that the threaded RTS is used, and
also the use of debugging RTSs:

  - We always build threaded and debugging variants of the RTS now.
    The --enable-threaded-rts configure option is ignored (and will
    be removed at some point).

  - New option:  -debug     enables the debugging RTS

  - New option:  -threaded  enables the threaded RTS.  When the threaded
    RTS is stable enough, we might make it the default.

The new options just cause a different variant of the RTS to be linked
in, and they cause one or two extra options to be enabled too.  The
implementation is via the usual ways machinery in the compiler, except
that these ways are labelled as RTS-only, and so don't require
rebuilding all the libraries too.

All of this means we can ship threaded and debugging RTSs with GHC, so
that users don't need to fetch and build a GHC source tree to use
them.

I'd like to get this functionality into 6.2.1 if possible, so please
test (I'm willing to stretch the definition of "interface change" to
accomodate this, since having a threaded RTS available without having
to build GHC will be a big win for the Visual Studio project).

20 years ago[project @ 2004-02-24 17:13:56 by simonpj]
simonpj [Tue, 24 Feb 2004 17:13:56 +0000 (17:13 +0000)]
[project @ 2004-02-24 17:13:56 by simonpj]
Better error message for no-instance in deriving clause

20 years ago[project @ 2004-02-24 16:44:26 by simonpj]
simonpj [Tue, 24 Feb 2004 16:44:27 +0000 (16:44 +0000)]
[project @ 2004-02-24 16:44:26 by simonpj]
---------------------------------------
      Allow constructors to be specified in hi-boot files
  ---------------------------------------

20 years ago[project @ 2004-02-24 15:57:52 by simonpj]
simonpj [Tue, 24 Feb 2004 15:57:59 +0000 (15:57 +0000)]
[project @ 2004-02-24 15:57:52 by simonpj]
---------------------------------------
    Record dependency on Template Haskell package
  ---------------------------------------

An unforseen consequence of making the Template Haskell package separate
is that we need to record dependency on the package, even if no TH module
is imported.  So we carry round (another) mutable variable tcg_th_used in
the tyepchecker monad, and zap it when $(...) and [| ... |] are used.

I did a little tidy-up and documentation in ListSetOps too

20 years ago[project @ 2004-02-24 15:51:33 by simonmar]
simonmar [Tue, 24 Feb 2004 15:51:33 +0000 (15:51 +0000)]
[project @ 2004-02-24 15:51:33 by simonmar]
only set WAYS if it isn't already set

20 years ago[project @ 2004-02-24 15:18:27 by simonpj]
simonpj [Tue, 24 Feb 2004 15:18:27 +0000 (15:18 +0000)]
[project @ 2004-02-24 15:18:27 by simonpj]
---------------------------------------
    Make foreign import "&foo" work in constructors
  ---------------------------------------

Merge to stable branch

A foreign-imported-label might be in another DLL or library, and
can't be in the read-only static data.  This showed up when compiling
unix/System/Posix/Env.hs without -O

20 years ago[project @ 2004-02-24 12:39:12 by simonmar]
simonmar [Tue, 24 Feb 2004 12:39:42 +0000 (12:39 +0000)]
[project @ 2004-02-24 12:39:12 by simonmar]
New version of translate for mingw32, which correctly (allegedly)
reverses the command-line translation done by the standard C runtime
on Windows.

20 years ago[project @ 2004-02-24 11:52:34 by simonpj]
simonpj [Tue, 24 Feb 2004 11:52:34 +0000 (11:52 +0000)]
[project @ 2004-02-24 11:52:34 by simonpj]
Comment only

20 years ago[project @ 2004-02-24 10:34:21 by simonmar]
simonmar [Tue, 24 Feb 2004 10:34:21 +0000 (10:34 +0000)]
[project @ 2004-02-24 10:34:21 by simonmar]
Fix line-comments.  The problem was that eg.

   --->

at the beginning of a line was matched by the line-comment rule,
because the varsym rule isn't valid at this point (we're in the bol
state).  Fix is to split the line-comment regex into two:

"--"\-* [^$symbol] .* ;
"--"\-* / { atEOL } ;

so a sequence of dashes on its own is only treated as a comment if
we're at the end of the line (or file).  Otherwise the dashes must be
followed by a non-symbol character.

20 years ago[project @ 2004-02-20 21:29:36 by panne]
panne [Fri, 20 Feb 2004 21:29:36 +0000 (21:29 +0000)]
[project @ 2004-02-20 21:29:36 by panne]
Reverted to previous version, too, because of wrong SGMLDocWays-handling, sorry,
but the build system should not be changed in a  non-backwards-compatible way
easily...

20 years ago[project @ 2004-02-20 21:21:27 by panne]
panne [Fri, 20 Feb 2004 21:21:27 +0000 (21:21 +0000)]
[project @ 2004-02-20 21:21:27 by panne]
Reverted previous commit, it was fixing things in the wrong place: When e.g.
"make dvi" is issued, we should *always* descend into the docs directory.
Generally, the SGMLDocWays-handling seems to be a bit a wrong: We should not
change how make descends down the hierarchy, but should make it a no-op when
nothing should/can be done.

20 years ago[project @ 2004-02-16 10:46:07 by simonmar]
simonmar [Mon, 16 Feb 2004 10:46:07 +0000 (10:46 +0000)]
[project @ 2004-02-16 10:46:07 by simonmar]
Fiddle with HC_SPLIT_POST to reduce the size of the ld command line
and hence avoid bumping into command-line length limits for a while
longer.

From: Jeremy Shaw <jeremy.shaw@lindows.com>

20 years ago[project @ 2004-02-15 13:38:18 by krasimir]
krasimir [Sun, 15 Feb 2004 13:38:18 +0000 (13:38 +0000)]
[project @ 2004-02-15 13:38:18 by krasimir]
Remove unused hooks

20 years ago[project @ 2004-02-15 13:29:44 by krasimir]
krasimir [Sun, 15 Feb 2004 13:29:44 +0000 (13:29 +0000)]
[project @ 2004-02-15 13:29:44 by krasimir]
Remove unused hooks

20 years ago[project @ 2004-02-15 12:20:26 by panne]
panne [Sun, 15 Feb 2004 12:20:27 +0000 (12:20 +0000)]
[project @ 2004-02-15 12:20:26 by panne]
I'm giving up here: The various quoting-related changes in rawSystem &
friends make it impossible to pass $(exeext) with double quotes via
cpp to Main.hs in a backwards-compatible way, so we revert to a cruel
hack here.  >:-(  Improvements are highly welcome...

20 years ago[project @ 2004-02-12 14:58:46 by simonpj]
simonpj [Thu, 12 Feb 2004 14:58:46 +0000 (14:58 +0000)]
[project @ 2004-02-12 14:58:46 by simonpj]
Document non-std behaviour of array

20 years ago[project @ 2004-02-12 14:31:53 by simonpj]
simonpj [Thu, 12 Feb 2004 14:31:53 +0000 (14:31 +0000)]
[project @ 2004-02-12 14:31:53 by simonpj]
Make trace message more accurate

20 years ago[project @ 2004-02-12 14:31:39 by simonpj]
simonpj [Thu, 12 Feb 2004 14:31:39 +0000 (14:31 +0000)]
[project @ 2004-02-12 14:31:39 by simonpj]
Layout only

20 years ago[project @ 2004-02-12 14:31:11 by simonpj]
simonpj [Thu, 12 Feb 2004 14:31:11 +0000 (14:31 +0000)]
[project @ 2004-02-12 14:31:11 by simonpj]
Fix printing bug for Kinds

20 years ago[project @ 2004-02-12 02:11:33 by mthomas]
mthomas [Thu, 12 Feb 2004 02:11:37 +0000 (02:11 +0000)]
[project @ 2004-02-12 02:11:33 by mthomas]
Support for nightly builds of utilities, esp. machines with no doc tools.

20 years ago[project @ 2004-02-12 02:04:59 by mthomas]
mthomas [Thu, 12 Feb 2004 02:04:59 +0000 (02:04 +0000)]
[project @ 2004-02-12 02:04:59 by mthomas]
General cleanup and updates.

20 years ago[project @ 2004-02-12 02:01:54 by mthomas]
mthomas [Thu, 12 Feb 2004 02:01:54 +0000 (02:01 +0000)]
[project @ 2004-02-12 02:01:54 by mthomas]
Rejig haddock and alex.

20 years ago[project @ 2004-02-11 09:19:01 by simonmar]
simonmar [Wed, 11 Feb 2004 09:19:01 +0000 (09:19 +0000)]
[project @ 2004-02-11 09:19:01 by simonmar]
Happy 1.14 is needed to compile the HEAD these days.

20 years ago[project @ 2004-02-10 17:55:24 by simonpj]
simonpj [Tue, 10 Feb 2004 17:55:24 +0000 (17:55 +0000)]
[project @ 2004-02-10 17:55:24 by simonpj]
Always expose newtypes, at least for now (see comments)

20 years ago[project @ 2004-02-10 17:54:50 by simonpj]
simonpj [Tue, 10 Feb 2004 17:54:50 +0000 (17:54 +0000)]
[project @ 2004-02-10 17:54:50 by simonpj]
Comments only

20 years ago[project @ 2004-02-09 17:23:20 by ross]
ross [Mon, 9 Feb 2004 17:23:20 +0000 (17:23 +0000)]
[project @ 2004-02-09 17:23:20 by ross]
only uses FFI, not glasgow-exts.  also updated ffi syntax

20 years ago[project @ 2004-02-09 17:21:33 by ross]
ross [Mon, 9 Feb 2004 17:21:33 +0000 (17:21 +0000)]
[project @ 2004-02-09 17:21:33 by ross]
the H98 Report no longer says Char is 16 bits, plus a typo

20 years ago[project @ 2004-02-09 15:04:19 by malcolm]
malcolm [Mon, 9 Feb 2004 15:04:20 +0000 (15:04 +0000)]
[project @ 2004-02-09 15:04:19 by malcolm]
Some hints about compiling hsc2hs with nhc98.

20 years ago[project @ 2004-02-07 16:37:06 by panne]
panne [Sat, 7 Feb 2004 16:37:07 +0000 (16:37 +0000)]
[project @ 2004-02-07 16:37:06 by panne]
Simplifications + small steps towards a stand-alone hsc2hs:

 * Replaced Config module by a simple CPP macro
 * Don't #include configuration header
 * Bumped version number
 * Warning police