ghc-hetmet.git
20 years ago[project @ 2003-06-05 14:05:36 by reid]
reid [Thu, 5 Jun 2003 14:05:36 +0000 (14:05 +0000)]
[project @ 2003-06-05 14:05:36 by reid]
s/green-card/greencard/

20 years ago[project @ 2003-06-05 14:04:28 by stolz]
stolz [Thu, 5 Jun 2003 14:04:28 +0000 (14:04 +0000)]
[project @ 2003-06-05 14:04:28 by stolz]
Work around broken getProcessStatus in 5.04.x

20 years ago[project @ 2003-06-05 12:29:31 by reid]
reid [Thu, 5 Jun 2003 12:29:31 +0000 (12:29 +0000)]
[project @ 2003-06-05 12:29:31 by reid]
Add GC_C_OBJS to MOSTLY_CLEAN_FILES

20 years ago[project @ 2003-06-05 12:09:52 by panne]
panne [Thu, 5 Jun 2003 12:09:52 +0000 (12:09 +0000)]
[project @ 2003-06-05 12:09:52 by panne]
Attention: Tentative fix only! But at least this works much better
than before.

From the Linux man page for waitpid:

   [...]
   ERRORS
          ECHILD if  the  process specified in pid does not exist or
                 is not a child of the calling process.   (This  can
                 happen  for  one's  own  child  if  the  action for
                 SIGCHLD is set to SIG_IGN. See also the LINUX NOTES
                 section about threads.)
   [...]

Consequently, we don't ignore SIGCHLD anymore. Further changes:

   * SIGCONT is not ignored anymore, either. What was this for?

   * Don't use WUNTRACED in waitpid. Again, what was this for?

20 years ago[project @ 2003-06-05 10:11:22 by simonmar]
simonmar [Thu, 5 Jun 2003 10:11:22 +0000 (10:11 +0000)]
[project @ 2003-06-05 10:11:22 by simonmar]
- Fix a couple of bugs in yesterday's pipeline cleanup.

- Do some more tidying: share the code for filename generation between
  the two entry points to HscMain, and also share some of the other
  machinery in the Hsc phase.  This fixes some wibbles (things that
  were done in --make mode but not in one-shot, and vice-versa).

  One thing that works now is that if you say 'ghc -keep-hc-files Foo.hs',
  then it automatically switches to -fvia-C mode to generate the .hc file.

20 years ago[project @ 2003-06-04 16:52:06 by stolz]
stolz [Wed, 4 Jun 2003 16:52:07 +0000 (16:52 +0000)]
[project @ 2003-06-04 16:52:06 by stolz]
System.Cmd.system-less invocation of sub-tasks
(Sven approved reverting the OpenGL-Makefile change)

20 years ago[project @ 2003-06-04 15:47:58 by simonmar]
simonmar [Wed, 4 Jun 2003 15:47:59 +0000 (15:47 +0000)]
[project @ 2003-06-04 15:47:58 by simonmar]
Grrr, started off making a small bugfix and ended up doing a major
cleanup operartion.

Anyway, the problem was that -odir wasn't putting the object files in
the right place when the module in question has a hierarchical name.
This was due to the object filename being generated in two different
places: once by the compilation pipeline machinery, and again in the
Finder.  It now works properly when --make is used; I haven't managed
to fix it for one-shot compilations though (some replumbing is
needed).

While I was here, I cleaned up the compilation pipeline machinery
somewhat.  The previous scheme of generating a data structure
representing the phases that need to be executed before actually
executing them was wrong because the structure of the pipeline can
change while it is being executed (eg. if we see {-# OPTIONS -fasm #-}
during the CPP phase).  There were various hacks to deal with this,
but it turned out to be quite messy.

So the new story is that each compilation phase returns the name of
the next phase to execute, and also figures out which file to put its
output in.  This unfortunately means that the knowledge about what
phases are done in what order is now spread throughout the module, but
there are fewer hacks at the higher levels, and overall it seems to be
an improvement.

20 years ago[project @ 2003-06-04 15:18:29 by panne]
panne [Wed, 4 Jun 2003 15:18:30 +0000 (15:18 +0000)]
[project @ 2003-06-04 15:18:29 by panne]
Tentative fixes for Cywgin/MinGW-style pathname confusion

20 years ago[project @ 2003-06-04 15:11:17 by panne]
panne [Wed, 4 Jun 2003 15:11:17 +0000 (15:11 +0000)]
[project @ 2003-06-04 15:11:17 by panne]
Always check for X Window System, otherwise $no_x is not set to "yes"
when there is no X11. Confusing...

20 years ago[project @ 2003-06-04 12:37:09 by reid]
reid [Wed, 4 Jun 2003 12:37:09 +0000 (12:37 +0000)]
[project @ 2003-06-04 12:37:09 by reid]
All changes in this commit are standalone changes only but could usefully be used inplace as well: Don't store package.conf.installed; use a pipe to avoid problems from using stale package.confs.  Also, use PACKAGE, PACKAGE_DEPS, LIBRARY and LIBDIR settings from Makefile when installing pkg.  This requires some ugly sed hackery to overcome ghc-pkg not allowing trailing commas in a list: [a,b,c,]

20 years ago[project @ 2003-06-03 15:07:11 by panne]
panne [Tue, 3 Jun 2003 15:07:11 +0000 (15:07 +0000)]
[project @ 2003-06-03 15:07:11 by panne]
Nuked debugging output

20 years ago[project @ 2003-06-03 11:44:28 by simonpj]
simonpj [Tue, 3 Jun 2003 11:44:28 +0000 (11:44 +0000)]
[project @ 2003-06-03 11:44:28 by simonpj]
Windows ssh info

20 years ago[project @ 2003-06-03 09:41:48 by ross]
ross [Tue, 3 Jun 2003 09:41:51 +0000 (09:41 +0000)]
[project @ 2003-06-03 09:41:48 by ross]
change trailing comments on #else/#endif lines to C style to avoid
warnings from gcc 3.3's preprocessor.

20 years ago[project @ 2003-06-03 09:37:14 by ross]
ross [Tue, 3 Jun 2003 09:37:15 +0000 (09:37 +0000)]
[project @ 2003-06-03 09:37:14 by ross]
fix for gcc 3.3 preprocessor: no layout, end-of-line comments or complex
Haskell comments in macro arguments.

please merge to STABLE

20 years ago[project @ 2003-06-02 16:24:07 by sof]
sof [Mon, 2 Jun 2003 16:24:07 +0000 (16:24 +0000)]
[project @ 2003-06-02 16:24:07 by sof]
Surround copied argv entries in double quotes to avoid quoting issues
(but don't quote me on that.)

Merge to STABLE.

20 years ago[project @ 2003-06-02 16:10:19 by simonpj]
simonpj [Mon, 2 Jun 2003 16:10:19 +0000 (16:10 +0000)]
[project @ 2003-06-02 16:10:19 by simonpj]
Wibbles to tuples

20 years ago[project @ 2003-06-02 14:26:54 by simonpj]
simonpj [Mon, 2 Jun 2003 14:26:55 +0000 (14:26 +0000)]
[project @ 2003-06-02 14:26:54 by simonpj]
Wibbles to nested tuples

20 years ago[project @ 2003-06-02 13:28:08 by simonpj]
simonpj [Mon, 2 Jun 2003 13:28:09 +0000 (13:28 +0000)]
[project @ 2003-06-02 13:28:08 by simonpj]
-------------------------------------
      Fix the big-tuple-from-desugaring problem
-------------------------------------

The desugarer generates a tuple from
- mutually recursive bindings
- pattern bindings

If either bind a lot of variables, GHC can generate a big
tuple that isn't in the library, with subsequent disaster.

This commit fixes the problem, by using nested tuples.  It
does *not* fix the problem with big tuples written by the
user. And there's still a potential desugarer problem with
parallel list comprehensions that bind a lot of variables
(and parallel array comprehensions) -- but I expect they are
much much rarer.

The fix isn't fully tested yet -- I'll try to do that today.

20 years ago[project @ 2003-06-02 13:27:53 by simonpj]
simonpj [Mon, 2 Jun 2003 13:27:53 +0000 (13:27 +0000)]
[project @ 2003-06-02 13:27:53 by simonpj]
Add comments

20 years ago[project @ 2003-06-02 13:27:33 by simonpj]
simonpj [Mon, 2 Jun 2003 13:27:41 +0000 (13:27 +0000)]
[project @ 2003-06-02 13:27:33 by simonpj]
Prune imports

20 years ago[project @ 2003-06-02 13:24:49 by reid]
reid [Mon, 2 Jun 2003 13:24:49 +0000 (13:24 +0000)]
[project @ 2003-06-02 13:24:49 by reid]
GC-generated stubs go in STUBOBJS not OBJS

20 years ago[project @ 2003-06-02 08:52:28 by simonmar]
simonmar [Mon, 2 Jun 2003 08:52:28 +0000 (08:52 +0000)]
[project @ 2003-06-02 08:52:28 by simonmar]
Back out part of previous commit: the text has already changed to not
recommend using 'cvs update -Pd' any more.

20 years ago[project @ 2003-06-02 07:19:15 by stolz]
stolz [Mon, 2 Jun 2003 07:19:15 +0000 (07:19 +0000)]
[project @ 2003-06-02 07:19:15 by stolz]
- warn about running 'cvs update -Pd'
    (run into by: Peter Simons)
- suggest running 'make html' in fptools/libraries before committing
    (*cough*)
- fix speling blunders

(Could somebody validate the SGML, please? Can't do it here :/)

20 years ago[project @ 2003-06-02 06:44:12 by mthomas]
mthomas [Mon, 2 Jun 2003 06:44:12 +0000 (06:44 +0000)]
[project @ 2003-06-02 06:44:12 by mthomas]
Correct a spelling mistake while doing some reading.

20 years ago[project @ 2003-05-31 16:26:33 by panne]
panne [Sat, 31 May 2003 16:26:33 +0000 (16:26 +0000)]
[project @ 2003-05-31 16:26:33 by panne]
*sigh* Reverted to DocBook 3.1, because I'm completely unable to
provide a catalog for DocBook 4.x on SuSE 8.1. If there is somebody
out there with more SGML knowledge, the autoconf magic should be fixed
so that a newer DTD can be used...

Was there a deep reason for DocBook 4.1 or the usual "newer is better"?
:-]

20 years ago[project @ 2003-05-30 22:29:41 by wolfgang]
wolfgang [Fri, 30 May 2003 22:29:41 +0000 (22:29 +0000)]
[project @ 2003-05-30 22:29:41 by wolfgang]
MacOS X:
pass the -framework option and its parameter as two separate arguments,
i.e. ["-framework", "Foo"] instead of ["-framework Foo"].
This is necessary because all options passed to gcc are now quoted
(since rev. 1.88 of SysTools.lhs), and "-framework Foo" is not a valid
option (while "-framework" "Foo" is).

MERGE TO STABLE

20 years ago[project @ 2003-05-30 13:32:20 by simonmar]
simonmar [Fri, 30 May 2003 13:32:21 +0000 (13:32 +0000)]
[project @ 2003-05-30 13:32:20 by simonmar]
Rename --list-packages-local to --list-local-packages, because it
seems that having one long option which is a prefix of another doesn't
work too well with GetOpt.

20 years ago[project @ 2003-05-30 10:13:05 by simonmar]
simonmar [Fri, 30 May 2003 10:13:05 +0000 (10:13 +0000)]
[project @ 2003-05-30 10:13:05 by simonmar]
Don't unconditionally define WANT_DOTNET_SUPPORT.

20 years ago[project @ 2003-05-30 09:09:09 by simonmar]
simonmar [Fri, 30 May 2003 09:09:09 +0000 (09:09 +0000)]
[project @ 2003-05-30 09:09:09 by simonmar]
merge rev. 1.116.2.1:

FPTOOLS_O_BINARY: lift #include to the top.

20 years ago[project @ 2003-05-30 09:06:24 by simonmar]
simonmar [Fri, 30 May 2003 09:06:24 +0000 (09:06 +0000)]
[project @ 2003-05-30 09:06:24 by simonmar]
merge rev. 1.119.2.1:

Couple of extra local syms needed when using mingw2

20 years ago[project @ 2003-05-30 09:04:28 by simonmar]
simonmar [Fri, 30 May 2003 09:04:28 +0000 (09:04 +0000)]
[project @ 2003-05-30 09:04:28 by simonmar]
Fix Network.Socket link.

20 years ago[project @ 2003-05-29 14:47:05 by reid]
reid [Thu, 29 May 2003 14:47:05 +0000 (14:47 +0000)]
[project @ 2003-05-29 14:47:05 by reid]
Use --force which ghc-pkg'ing standalone libs because ghc-pkg is run before the libs have actually been installed.  It would be better to delay running ghc-pkg.

20 years ago[project @ 2003-05-29 14:39:26 by sof]
sof [Thu, 29 May 2003 14:39:31 +0000 (14:39 +0000)]
[project @ 2003-05-29 14:39:26 by sof]
Support for interop'ing with .NET via FFI declarations along the
lines of what Hugs98.NET offers, see

 http://haskell.org/pipermail/cvs-hugs/2003-March/001723.html

for FFI decl details.

To enable, configure with --enable-dotnet + have a look
in ghc/rts/dotnet/Makefile for details of what tools are needed to
build the .NET interop layer (tools from VS.NET / Framework SDK.)

The commit doesn't include some library additions + wider-scale
testing is required before this extension can be regarded as available
for general use. 'foreign import dotnet' is currently only supported
by the C backend.

20 years ago[project @ 2003-05-29 13:54:44 by simonmar]
simonmar [Thu, 29 May 2003 13:54:44 +0000 (13:54 +0000)]
[project @ 2003-05-29 13:54:44 by simonmar]
wibble to previous commit

20 years ago[project @ 2003-05-29 13:37:59 by simonmar]
simonmar [Thu, 29 May 2003 13:37:59 +0000 (13:37 +0000)]
[project @ 2003-05-29 13:37:59 by simonmar]
Prune more autoconf droppings from a source dist.

20 years ago[project @ 2003-05-29 13:36:39 by simonmar]
simonmar [Thu, 29 May 2003 13:36:39 +0000 (13:36 +0000)]
[project @ 2003-05-29 13:36:39 by simonmar]
Also clean the Haddock interface file.

20 years ago[project @ 2003-05-29 13:22:51 by simonpj]
simonpj [Thu, 29 May 2003 13:22:52 +0000 (13:22 +0000)]
[project @ 2003-05-29 13:22:51 by simonpj]
n+k patterns should be in Integral, according to the Report

20 years ago[project @ 2003-05-29 13:03:56 by simonmar]
simonmar [Thu, 29 May 2003 13:03:56 +0000 (13:03 +0000)]
[project @ 2003-05-29 13:03:56 by simonmar]
Prune autoconf droppings from the source dist.

20 years ago[project @ 2003-05-29 12:59:55 by simonmar]
simonmar [Thu, 29 May 2003 12:59:55 +0000 (12:59 +0000)]
[project @ 2003-05-29 12:59:55 by simonmar]
Clean AutoApply.hc too.

20 years ago[project @ 2003-05-29 12:58:00 by simonmar]
simonmar [Thu, 29 May 2003 12:58:00 +0000 (12:58 +0000)]
[project @ 2003-05-29 12:58:00 by simonmar]
Clean .depend*, not just .depend (in fptools/ghc/compiler we have
several .depend files).

20 years ago[project @ 2003-05-29 09:03:02 by simonmar]
simonmar [Thu, 29 May 2003 09:03:02 +0000 (09:03 +0000)]
[project @ 2003-05-29 09:03:02 by simonmar]
Note that autoconf 2.52 is required.

20 years ago[project @ 2003-05-29 09:01:20 by simonmar]
simonmar [Thu, 29 May 2003 09:01:20 +0000 (09:01 +0000)]
[project @ 2003-05-29 09:01:20 by simonmar]
Use AC_PREREQ to ensure that we have at least autoconf 2.52, and
remove some old messages about version 2.13.

20 years ago[project @ 2003-05-28 12:10:43 by simonmar]
simonmar [Wed, 28 May 2003 12:10:43 +0000 (12:10 +0000)]
[project @ 2003-05-28 12:10:43 by simonmar]
Surround import Util with #ifdef DEBUG, to avoid the warning (and so I
don't accidentally delete it again).

20 years ago[project @ 2003-05-28 09:43:05 by simonmar]
simonmar [Wed, 28 May 2003 09:43:05 +0000 (09:43 +0000)]
[project @ 2003-05-28 09:43:05 by simonmar]
- Update on compatibility with recent GCC versions
- Mention that Happy might need to be checked out

(from Volker Stolz).

20 years ago[project @ 2003-05-28 09:05:21 by simonmar]
simonmar [Wed, 28 May 2003 09:05:21 +0000 (09:05 +0000)]
[project @ 2003-05-28 09:05:21 by simonmar]
Don't recommend that people do 'cvs update -d' at the top level of an
fptools tree.

20 years ago[project @ 2003-05-28 08:22:22 by simonpj]
simonpj [Wed, 28 May 2003 08:22:22 +0000 (08:22 +0000)]
[project @ 2003-05-28 08:22:22 by simonpj]
Remove duplicate #includes arising from foreign import decls

20 years ago[project @ 2003-05-28 01:12:07 by mthomas]
mthomas [Wed, 28 May 2003 01:12:07 +0000 (01:12 +0000)]
[project @ 2003-05-28 01:12:07 by mthomas]
Assume that notNull in ASSERT is still needed, so revert import.

20 years ago[project @ 2003-05-27 21:14:21 by wolfgang]
wolfgang [Tue, 27 May 2003 21:14:22 +0000 (21:14 +0000)]
[project @ 2003-05-27 21:14:21 by wolfgang]
Fix two bugs in the PowerPC NCG:
1. it generated a 'subfi' (subtract from with immediate) instruction,
which doesn't exist in the PowerPC architecture.
2. didn't correctly handle switch tables (test case cg048.hs).

MERGE TO STABLE

20 years ago[project @ 2003-05-27 14:52:34 by simonmar]
simonmar [Tue, 27 May 2003 14:52:34 +0000 (14:52 +0000)]
[project @ 2003-05-27 14:52:34 by simonmar]
Small updates for 6.x

20 years ago[project @ 2003-05-27 14:15:40 by simonmar]
simonmar [Tue, 27 May 2003 14:15:40 +0000 (14:15 +0000)]
[project @ 2003-05-27 14:15:40 by simonmar]
Use ErrUtils.showPass for printing the '*** Core Linted...' message
instead of rolling our own (also has the effect of sending this to
stderr for consistency).

Tidy up unused imports while I'm here.

20 years ago[project @ 2003-05-27 14:05:11 by simonmar]
simonmar [Tue, 27 May 2003 14:05:11 +0000 (14:05 +0000)]
[project @ 2003-05-27 14:05:11 by simonmar]
Send "Result size =" messages to stderr.

20 years ago[project @ 2003-05-27 14:02:04 by simonmar]
simonmar [Tue, 27 May 2003 14:02:06 +0000 (14:02 +0000)]
[project @ 2003-05-27 14:02:04 by simonmar]
Enable large-file support using AC_SYS_LARGEFILE.

HEADS UP: autoconf 2.5 is now needed to process configure.in.  I
figured this was preferable to copying the AC_SYS_LARGEFILE macro from
the autoconf sources and trying to make it work with autoconf 2.13.

20 years ago[project @ 2003-05-27 12:47:55 by simonpj]
simonpj [Tue, 27 May 2003 12:47:55 +0000 (12:47 +0000)]
[project @ 2003-05-27 12:47:55 by simonpj]
Track changes in Generics.hs

20 years ago[project @ 2003-05-27 12:40:19 by simonmar]
simonmar [Tue, 27 May 2003 12:40:19 +0000 (12:40 +0000)]
[project @ 2003-05-27 12:40:19 by simonmar]
If we're going to surround all arguments to external functions with
quotes (see SysTools.lhs rev. 1.88) then we shouldn't add quotes to
the arguments to -D and -U passed to cpp.

20 years ago[project @ 2003-05-27 11:06:41 by simonpj]
simonpj [Tue, 27 May 2003 11:06:41 +0000 (11:06 +0000)]
[project @ 2003-05-27 11:06:41 by simonpj]
Advise against SplitObjs for Win32

20 years ago[project @ 2003-05-25 20:54:18 by stolz]
stolz [Sun, 25 May 2003 20:54:18 +0000 (20:54 +0000)]
[project @ 2003-05-25 20:54:18 by stolz]
Fix quoted source filenames on *nix

Noticed by: Calle Lejdfors
(please merge)

20 years ago[project @ 2003-05-23 21:40:04 by wolfgang]
wolfgang [Fri, 23 May 2003 21:40:04 +0000 (21:40 +0000)]
[project @ 2003-05-23 21:40:04 by wolfgang]
Enable Native Code Generator for PowerPC by default.

MERGE TO STABLE

20 years ago[project @ 2003-05-23 16:36:58 by panne]
panne [Fri, 23 May 2003 16:36:58 +0000 (16:36 +0000)]
[project @ 2003-05-23 16:36:58 by panne]
Nuked unused GL/GLU version detection magic, extensions are now
completely handled at runtime, not compile time. This affects only
configure's --enable-hopengl option.

20 years ago[project @ 2003-05-23 16:24:57 by panne]
panne [Fri, 23 May 2003 16:24:57 +0000 (16:24 +0000)]
[project @ 2003-05-23 16:24:57 by panne]
Fixed tests for _SC_GETGR_R_SIZE_MAX and _SC_GETPW_R_SIZE_MAX.
Whitespace is sometimes important in autconf scripts.  :-P

MERGE TO STABLE

20 years ago[project @ 2003-05-23 16:11:35 by stolz]
stolz [Fri, 23 May 2003 16:11:35 +0000 (16:11 +0000)]
[project @ 2003-05-23 16:11:35 by stolz]
Two more Solaris fixes:
- ln -s -f doesn't really work (but doesn't matter)
- 'echo -n' neither necessary nor portable
(please merge)

20 years ago[project @ 2003-05-23 14:31:45 by stolz]
stolz [Fri, 23 May 2003 14:31:46 +0000 (14:31 +0000)]
[project @ 2003-05-23 14:31:45 by stolz]
No (un)setenv until SUSv3 (e.g. Solaris 2.9). (fallback untested)

20 years ago[project @ 2003-05-23 11:03:39 by simonmar]
simonmar [Fri, 23 May 2003 11:03:39 +0000 (11:03 +0000)]
[project @ 2003-05-23 11:03:39 by simonmar]
The HEAD is version 6.1 now.

20 years ago[project @ 2003-05-23 10:00:04 by simonmar]
simonmar [Fri, 23 May 2003 10:00:04 +0000 (10:00 +0000)]
[project @ 2003-05-23 10:00:04 by simonmar]
For STANDALONE_PACKAGE: Let the package configuration file refer to
$(libdir) as ${pkglibdir}.  Note we can't use ${libdir} because
ghc-pkg already redefines it to point to GHC's libdir (bug or
feature?).

20 years ago[project @ 2003-05-23 08:49:22 by simonmar]
simonmar [Fri, 23 May 2003 08:49:22 +0000 (08:49 +0000)]
[project @ 2003-05-23 08:49:22 by simonmar]
Make hackery to give $(GhcCanonVersion) the right value even when we
have a single-digit $(GhcMinVersion).

20 years ago[project @ 2003-05-23 08:28:48 by simonmar]
simonmar [Fri, 23 May 2003 08:28:48 +0000 (08:28 +0000)]
[project @ 2003-05-23 08:28:48 by simonmar]
Remove ancient vestiges of StgHugs: the COMPILER #define.

20 years ago[project @ 2003-05-22 15:36:08 by simonmar]
simonmar [Thu, 22 May 2003 15:36:08 +0000 (15:36 +0000)]
[project @ 2003-05-22 15:36:08 by simonmar]
First hack at supporting standalone packages.

What this means is that a non-GHC fptools project which sets
$(PACKAGE) in a Makefile should do something reasonable.  It works by
testing whether $(ProjectNameShort) == "ghc", and if it isn't, then:

 - it turns off all the machinery that deals with installing the
   package for use with the in-place compiler and a (future)
   installation of GHC.

 - instead, it enables a rule that installs the package using
   the installed $(GHC_PKG).  The configure script still needs
   updating to detect this, so 'make install' won't work yet.

 - $(GHC) is used instead of $(GHC_INPLACE) for compiling Haskell
   code.

Apart from the detection of ghc-pkg in configure, this should be all
that's needed to get source distributions and 'make install' going.

20 years ago[project @ 2003-05-22 13:22:39 by simonmar]
simonmar [Thu, 22 May 2003 13:22:39 +0000 (13:22 +0000)]
[project @ 2003-05-22 13:22:39 by simonmar]
Comment only

20 years ago[project @ 2003-05-22 10:53:53 by simonmar]
simonmar [Thu, 22 May 2003 10:53:53 +0000 (10:53 +0000)]
[project @ 2003-05-22 10:53:53 by simonmar]
Fix obscure bug in GHCi: when generating code for tag2enum#, we were
wrongly using the source name for the DataCons rather than the worker
name, which lead to spurious link errors.

This fixes galois_raytrace(ghci).

20 years ago[project @ 2003-05-22 10:27:52 by ross]
ross [Thu, 22 May 2003 10:27:52 +0000 (10:27 +0000)]
[project @ 2003-05-22 10:27:52 by ross]
Make it work with newer versions of flex, which produce an extern
declaration for yywrap() unless YY_SKIP_YYWRAP is defined.

20 years ago[project @ 2003-05-21 23:40:08 by igloo]
igloo [Wed, 21 May 2003 23:40:10 +0000 (23:40 +0000)]
[project @ 2003-05-21 23:40:08 by igloo]
Rename and reorder the internals for unique ids etc. Also fixed a couple
of THSyntax names.

20 years ago[project @ 2003-05-21 18:07:13 by igloo]
igloo [Wed, 21 May 2003 18:07:30 +0000 (18:07 +0000)]
[project @ 2003-05-21 18:07:13 by igloo]
The Great Renaming. I hope I've kept everything in sync - and all the tests
pass. Now datatypes follow the

data Foo = <a kind of Foo>Foo
         | <another kind of Foo>Foo

convention and the smart constructors can be uniformly created by
lowercasing the first letter of the constructor.

20 years ago[project @ 2003-05-21 16:02:42 by stolz]
stolz [Wed, 21 May 2003 16:02:44 +0000 (16:02 +0000)]
[project @ 2003-05-21 16:02:42 by stolz]
Solaris2 needs _POSIX_PTHREAD_SEMANTICS for the getpw*_r() prototypes.
Make libraries/unix/Makefile use a new variable unix_SRC_HSC2HS_OPTS
which we configure in mk/config.mk.

20 years ago[project @ 2003-05-21 15:49:54 by simonpj]
simonpj [Wed, 21 May 2003 15:49:54 +0000 (15:49 +0000)]
[project @ 2003-05-21 15:49:54 by simonpj]
Add a microscopic amount of documentation for functional dependencies; who would like to volunteer to write more?

20 years ago[project @ 2003-05-21 15:20:37 by simonmar]
simonmar [Wed, 21 May 2003 15:20:37 +0000 (15:20 +0000)]
[project @ 2003-05-21 15:20:37 by simonmar]
The 6.0 release notes.

20 years ago[project @ 2003-05-21 13:22:46 by stolz]
stolz [Wed, 21 May 2003 13:22:46 +0000 (13:22 +0000)]
[project @ 2003-05-21 13:22:46 by stolz]
Call strerror() instead of sys_errlist[errno] (deprecated & smells bad)
(Broke Solaris-build here)

20 years ago[project @ 2003-05-21 13:05:49 by simonmar]
simonmar [Wed, 21 May 2003 13:05:49 +0000 (13:05 +0000)]
[project @ 2003-05-21 13:05:49 by simonmar]
Restore the correct partitioning of command-line arguments into
objects and compilation-manager inputs for --make mode, and restore a
comment explaining the behaviour.

Rev. 1.120 made some subtle changes to the semantics, in particular in
cases where a file given on the command line is neither a source nor
an object file.

I believe the behaviour for one-shot mode has not changed.  The
behaviour for GHCi mode is now the same as --make mode (previous to
rev. 1.120 it was subtly broken in this respect).

20 years ago[project @ 2003-05-21 12:46:19 by simonmar]
simonmar [Wed, 21 May 2003 12:46:19 +0000 (12:46 +0000)]
[project @ 2003-05-21 12:46:19 by simonmar]
revert rev. 1.16; looks like this was an experiment that got
accidentally committed.

20 years ago[project @ 2003-05-21 12:38:36 by simonmar]
simonmar [Wed, 21 May 2003 12:38:37 +0000 (12:38 +0000)]
[project @ 2003-05-21 12:38:36 by simonmar]
Put the call to saveDynFlags back in one place.

20 years ago[project @ 2003-05-21 10:50:55 by reid]
reid [Wed, 21 May 2003 10:51:31 +0000 (10:51 +0000)]
[project @ 2003-05-21 10:50:55 by reid]
Improved greencard-related definitions

20 years ago[project @ 2003-05-21 02:58:39 by igloo]
igloo [Wed, 21 May 2003 02:58:40 +0000 (02:58 +0000)]
[project @ 2003-05-21 02:58:39 by igloo]
Added support for newtypes to TH and altered a test for them.

20 years ago[project @ 2003-05-21 02:48:56 by igloo]
igloo [Wed, 21 May 2003 02:48:56 +0000 (02:48 +0000)]
[project @ 2003-05-21 02:48:56 by igloo]
When --make is used we need to save the initial dynamic flags too

20 years ago[project @ 2003-05-20 22:39:33 by igloo]
igloo [Tue, 20 May 2003 22:39:33 +0000 (22:39 +0000)]
[project @ 2003-05-20 22:39:33 by igloo]
Fix building on 5.02

20 years ago[project @ 2003-05-20 11:07:54 by stolz]
stolz [Tue, 20 May 2003 11:07:54 +0000 (11:07 +0000)]
[project @ 2003-05-20 11:07:54 by stolz]
Generate
  int main (int argc, char *argv [])
instead of
  int main (void)

Suggested by: Nicolas Oury

20 years ago[project @ 2003-05-20 10:03:25 by simonmar]
simonmar [Tue, 20 May 2003 10:03:25 +0000 (10:03 +0000)]
[project @ 2003-05-20 10:03:25 by simonmar]
Skeleton 6.0 release notes.

20 years ago[project @ 2003-05-20 10:03:06 by simonmar]
simonmar [Tue, 20 May 2003 10:03:06 +0000 (10:03 +0000)]
[project @ 2003-05-20 10:03:06 by simonmar]
defaultsHook is now ghc_rts_opts.

20 years ago[project @ 2003-05-20 10:02:13 by simonmar]
simonmar [Tue, 20 May 2003 10:02:13 +0000 (10:02 +0000)]
[project @ 2003-05-20 10:02:13 by simonmar]
Update version numbering policy

20 years ago[project @ 2003-05-20 09:54:42 by simonmar]
simonmar [Tue, 20 May 2003 09:56:58 +0000 (09:56 +0000)]
[project @ 2003-05-20 09:54:42 by simonmar]
Version 6.0

20 years ago[project @ 2003-05-20 03:46:48 by sof]
sof [Tue, 20 May 2003 03:46:48 +0000 (03:46 +0000)]
[project @ 2003-05-20 03:46:48 by sof]
--with-gcc=<path>: for mingw32 plat, canonicalise path using cygpath

20 years ago[project @ 2003-05-19 15:39:17 by simonpj]
simonpj [Mon, 19 May 2003 15:39:18 +0000 (15:39 +0000)]
[project @ 2003-05-19 15:39:17 by simonpj]
---------------------------------
Improve the dynamic-linking story
---------------------------------

Arrange proper initialisation for the dynamic linker.  Whenever the dynamic linker does
anything (Linker.linkExpr), it first initialises itself, arranging to only do so once
of course.

"Initialising itself" includes loading any .o files, libraries, and packages specified
on the command line.  The main effect of all this is to fix a Template Haskell problem,
which happened when a TH link needed some C library that it couldn't link.  Now it does.

While I was at it, I tidied up main/Main.hs quite a bit.  This is a delicate area (handling
the command line arguments), but I don't believe I broke anything!  All the libraries
build, and lots of tests run.

Wolfgang: I also jiggled the darwin_TARGET_OS stuff a little in Linker.lhs, but again
I think the net effect is zero. You might want to check.

20 years ago[project @ 2003-05-19 15:11:15 by simonpj]
simonpj [Mon, 19 May 2003 15:11:15 +0000 (15:11 +0000)]
[project @ 2003-05-19 15:11:15 by simonpj]
Comments only

20 years ago[project @ 2003-05-19 15:10:40 by simonpj]
simonpj [Mon, 19 May 2003 15:10:41 +0000 (15:10 +0000)]
[project @ 2003-05-19 15:10:40 by simonpj]
--------------------------
Minor Template Haskell bug
--------------------------

This bug meant that spliced-in class declarations yielded a 'op not in scope',
where op was the class operation.  Thanks to Andre Pang for spotting this.

Some consequential tidying up in parsing too.

20 years ago[project @ 2003-05-19 13:29:15 by simonmar]
simonmar [Mon, 19 May 2003 13:29:15 +0000 (13:29 +0000)]
[project @ 2003-05-19 13:29:15 by simonmar]
- rearrange the file a little

- build a binary distribution from stage 2 by default, unless
  overriden from the command line.

20 years ago[project @ 2003-05-19 13:01:23 by simonmar]
simonmar [Mon, 19 May 2003 13:01:23 +0000 (13:01 +0000)]
[project @ 2003-05-19 13:01:23 by simonmar]
Remove obsolete references to DriFT, DtdToHaskell and Xtract.

20 years ago[project @ 2003-05-19 12:11:14 by simonmar]
simonmar [Mon, 19 May 2003 12:11:14 +0000 (12:11 +0000)]
[project @ 2003-05-19 12:11:14 by simonmar]
tryM again: make it work with GHC 5.02.x (I hope).  Seems we changed
the representation of UserErrors several times in the last few
releases...

20 years ago[project @ 2003-05-19 11:37:07 by simonmar]
simonmar [Mon, 19 May 2003 11:37:07 +0000 (11:37 +0000)]
[project @ 2003-05-19 11:37:07 by simonmar]
Fix a pair of off-by-one errors that meant that BCOs were normally two
words larger than they needed to be.

20 years ago[project @ 2003-05-19 11:33:06 by simonmar]
simonmar [Mon, 19 May 2003 11:33:06 +0000 (11:33 +0000)]
[project @ 2003-05-19 11:33:06 by simonmar]
Eeek!  intsToReverseBitmap was borked for bitmaps with more than
wORD_SIZE_IN_BITS entries.

20 years ago[project @ 2003-05-19 08:31:11 by simonpj]
simonpj [Mon, 19 May 2003 08:31:11 +0000 (08:31 +0000)]
[project @ 2003-05-19 08:31:11 by simonpj]
More Win32 help

20 years ago[project @ 2003-05-17 14:49:45 by reid]
reid [Sat, 17 May 2003 14:51:28 +0000 (14:51 +0000)]
[project @ 2003-05-17 14:49:45 by reid]
Add checks for ghc-pkg and green-card 3.00 (used in x11 lib)

20 years ago[project @ 2003-05-17 00:11:27 by ross]
ross [Sat, 17 May 2003 00:11:30 +0000 (00:11 +0000)]
[project @ 2003-05-17 00:11:27 by ross]
Rename per-package configuration files from $(PACKAGE).conf.* to
package.conf.*, making them easier to find (since each package is
in a separate directory anyway).

20 years ago[project @ 2003-05-16 14:39:29 by simonmar]
simonmar [Fri, 16 May 2003 14:39:29 +0000 (14:39 +0000)]
[project @ 2003-05-16 14:39:29 by simonmar]
Make retainer profiling work again after the recent SRT changes.