ghc-hetmet.git
19 years ago[project @ 2004-09-22 08:36:58 by panne]
panne [Wed, 22 Sep 2004 08:37:01 +0000 (08:37 +0000)]
[project @ 2004-09-22 08:36:58 by panne]
* Replace obsolete macro AC_TRY_RUN with AC_RUN_IFELSE
* Same for AC_TRY_LINK and AC_LINK_IFELSE
* Minor cleanup

19 years ago[project @ 2004-09-21 17:49:22 by panne]
panne [Tue, 21 Sep 2004 17:49:22 +0000 (17:49 +0000)]
[project @ 2004-09-21 17:49:22 by panne]
* Added new target for creating *.bz2 source distributions
* Cleanup *.tar.gz / *.tar.bz2 when things go wrong

19 years ago[project @ 2004-09-21 17:39:08 by panne]
panne [Tue, 21 Sep 2004 17:39:08 +0000 (17:39 +0000)]
[project @ 2004-09-21 17:39:08 by panne]
Makefile.config is dead, so don't include it in SRC_DIST_FILES.

19 years ago[project @ 2004-09-21 17:29:55 by panne]
panne [Tue, 21 Sep 2004 17:29:55 +0000 (17:29 +0000)]
[project @ 2004-09-21 17:29:55 by panne]
Make sure "docs" and "dist" exactly once in SRC_DIST_DIRS.

MERGE TO STABLE

19 years ago[project @ 2004-09-20 17:53:40 by panne]
panne [Mon, 20 Sep 2004 17:53:40 +0000 (17:53 +0000)]
[project @ 2004-09-20 17:53:40 by panne]
Removed dependency of $(TOP)/mk/config.mk on $(TOP)/config.status, resurrecting
"make distclean". I'm not 100% sure that the autoconf-related rules are correct,
"./config.status --recheck" in conjunction with make is a real brain-twister...

19 years ago[project @ 2004-09-20 16:32:58 by panne]
panne [Mon, 20 Sep 2004 16:32:59 +0000 (16:32 +0000)]
[project @ 2004-09-20 16:32:58 by panne]
Ooops, forgot to rename version.mk in my previous committ...

19 years ago[project @ 2004-09-20 07:27:15 by mthomas]
mthomas [Mon, 20 Sep 2004 07:27:15 +0000 (07:27 +0000)]
[project @ 2004-09-20 07:27:15 by mthomas]
Make tests run on Cygwin hosted MinGW32 build.

19 years ago[project @ 2004-09-19 09:41:29 by panne]
panne [Sun, 19 Sep 2004 09:41:29 +0000 (09:41 +0000)]
[project @ 2004-09-19 09:41:29 by panne]
Use version info from configure.ac

19 years ago[project @ 2004-09-19 09:15:03 by panne]
panne [Sun, 19 Sep 2004 09:15:03 +0000 (09:15 +0000)]
[project @ 2004-09-19 09:15:03 by panne]
Use some sed magic to avoid PACKAGE_FOO clashes introduced by the autoconf
cleanup yesterday. Another option would have been using a plain "AC_INIT" in
fptools/configure.ac (and probably the same for fptools/libraries/configure.ac),
so only "leaf configure.ac"s have package info. Not quite sure what would be the
nicest way to handle this yet...

19 years ago[project @ 2004-09-18 12:49:55 by panne]
panne [Sat, 18 Sep 2004 12:50:00 +0000 (12:50 +0000)]
[project @ 2004-09-18 12:49:55 by panne]
Make autoupdate 2.52 happy, mainly by using the new formats of AC_INIT and
AC_OUTPUT. This has the nice side effect that all "packages" have now a name, a
version, a bug-report address, and a tar name, yielding better output with
"configure --help=recursive". Nuked an unused AC_STRUCT_ST_BLKSIZE test on the
way.

19 years ago[project @ 2004-09-17 08:25:25 by simonmar]
simonmar [Fri, 17 Sep 2004 08:25:25 +0000 (08:25 +0000)]
[project @ 2004-09-17 08:25:25 by simonmar]
Remove debugging trace that I left in when working on mk_switch.

19 years ago[project @ 2004-09-16 22:41:33 by sof]
sof [Thu, 16 Sep 2004 22:41:33 +0000 (22:41 +0000)]
[project @ 2004-09-16 22:41:33 by sof]
New option, -P, turns off line pragma emission

19 years ago[project @ 2004-09-16 08:13:02 by stolz]
stolz [Thu, 16 Sep 2004 08:13:02 +0000 (08:13 +0000)]
[project @ 2004-09-16 08:13:02 by stolz]
Collect unknown chunks in new chkcat 'unknown' which gets treated like
'misc', but isn't mangled on sparc-*-solaris2 because of function
definitions in C-headers like <pwd.h>. This shouldn't affect any
other platform since this was already a border-case.

Closes SF Bug 1012521 "getUserEntryForID dies".
Please merge.

19 years ago[project @ 2004-09-16 01:39:24 by mthomas]
mthomas [Thu, 16 Sep 2004 01:39:24 +0000 (01:39 +0000)]
[project @ 2004-09-16 01:39:24 by mthomas]
On Windows default to main.exe instead of a.out.

19 years ago[project @ 2004-09-15 17:48:08 by ross]
ross [Wed, 15 Sep 2004 17:48:10 +0000 (17:48 +0000)]
[project @ 2004-09-15 17:48:08 by ross]
arrow notation: allow arrow applications (f -< a) to take a non-empty
command stack, as suggested by Sebastian Boldt <Sebastian.Boldt@arcor.de>.

19 years ago[project @ 2004-09-15 13:50:59 by stolz]
stolz [Wed, 15 Sep 2004 13:51:00 +0000 (13:51 +0000)]
[project @ 2004-09-15 13:50:59 by stolz]
- Remove configure tests for SIG{POLL,INFO,WINCH}:
  Testing via #ifdef SIGFOO should be sufficient.
- Change #if HAVE_SIGPOLL to #ifdef SIGPOLL
- Remove SIGINFO/WINCH from package base: they'll reappear in package unix
  in System/Posix/Signals.Exts.

19 years ago[project @ 2004-09-15 12:06:08 by simonmar]
simonmar [Wed, 15 Sep 2004 12:06:08 +0000 (12:06 +0000)]
[project @ 2004-09-15 12:06:08 by simonmar]
Oops, fix bugs in previous commit.

19 years ago[project @ 2004-09-15 11:45:24 by simonmar]
simonmar [Wed, 15 Sep 2004 11:45:24 +0000 (11:45 +0000)]
[project @ 2004-09-15 11:45:24 by simonmar]
Add a couple of cases to mk_switch to catch the case when we have a
tag range that has a lot of default cases at either end, and we're not
using a single switch.  In situations like this we want to eliminate
the default cases with an if-statement, before dealing with the rest
of the branches, which might then be suitable for a switch.

Also, ignore empty tag slots at either end of the range if there is no
default case.

This might work around a gcc 2.95 bug that we tickled with the
code being generated before.

19 years ago[project @ 2004-09-15 02:47:03 by wolfgang]
wolfgang [Wed, 15 Sep 2004 02:47:03 +0000 (02:47 +0000)]
[project @ 2004-09-15 02:47:03 by wolfgang]
Accept '#pragma' lines in the cmm parser.
This is necessary because Apple's version of GNU cpp 3.3 leaves #pragma
lines in it's output, which cause the build to fail on Mac OS X with
GCC >= 3.3

19 years ago[project @ 2004-09-14 19:00:20 by panne]
panne [Tue, 14 Sep 2004 19:00:20 +0000 (19:00 +0000)]
[project @ 2004-09-14 19:00:20 by panne]
Fixed "yes" vs. "YES" confusion. This is currently really a mess and I'll
really have to clean this up someday...

19 years ago[project @ 2004-09-14 16:47:57 by panne]
panne [Tue, 14 Sep 2004 16:47:57 +0000 (16:47 +0000)]
[project @ 2004-09-14 16:47:57 by panne]
* Merged stgMalloc and execPage into a single function which handles
  even multiple pages correctly.

* Enabled the use VirtualProtect on x86 WinDoze now. This could be
  necessary for processors which distinguish between READ and EXECUTE
  memory accesses, e.g. Itaniums IIRC.

* Nuked pageMode and set page permissions always to READ/WRITE/EXECUTE,
  otherwise we could accidentally remove the WRITE permission.

Only mildly tested on x86 Linux, but it might be worth merging into
the STABLE branch when it turns out to work on x86 WinDoze and OpenBSD.
SimonM?

19 years ago[project @ 2004-09-14 04:34:12 by mthomas]
mthomas [Tue, 14 Sep 2004 04:34:12 +0000 (04:34 +0000)]
[project @ 2004-09-14 04:34:12 by mthomas]
Replace prog_belch with errorBelch.

19 years ago[project @ 2004-09-13 19:25:38 by panne]
panne [Mon, 13 Sep 2004 19:25:38 +0000 (19:25 +0000)]
[project @ 2004-09-13 19:25:38 by panne]
Improve fop detection now that SuSE has fixed their broken /usr/bin/fop

19 years ago[project @ 2004-09-13 17:18:27 by sof]
sof [Mon, 13 Sep 2004 17:18:27 +0000 (17:18 +0000)]
[project @ 2004-09-13 17:18:27 by sof]
threadSqueezeStack(): with DEBUG, zero out entire payload when
blackholing. Required now that LOOKS_LIKE_INFO_PTR() isn't 100%
precise.

Merge to STABLE

19 years ago[project @ 2004-09-13 17:10:48 by sof]
sof [Mon, 13 Sep 2004 17:10:48 +0000 (17:10 +0000)]
[project @ 2004-09-13 17:10:48 by sof]
printClosure(): handle MVARs

19 years ago[project @ 2004-09-13 09:56:12 by simonmar]
simonmar [Mon, 13 Sep 2004 09:56:12 +0000 (09:56 +0000)]
[project @ 2004-09-13 09:56:12 by simonmar]
There was a missing $T_HDR_info setting for solaris2/openbsd.

19 years ago[project @ 2004-09-13 09:19:16 by dons]
dons [Mon, 13 Sep 2004 09:19:16 +0000 (09:19 +0000)]
[project @ 2004-09-13 09:19:16 by dons]
malloc memory isn't executable by default on OpenBSD, so mprotect
pages in execPage for that platform. Enables the FFI.

Merge to stable

19 years ago[project @ 2004-09-12 12:12:18 by panne]
panne [Sun, 12 Sep 2004 12:12:19 +0000 (12:12 +0000)]
[project @ 2004-09-12 12:12:18 by panne]
Warning police. Why is x86_init_fpu disabled, BTW?

19 years ago[project @ 2004-09-12 11:45:04 by panne]
panne [Sun, 12 Sep 2004 11:45:04 +0000 (11:45 +0000)]
[project @ 2004-09-12 11:45:04 by panne]
Nuked "Revision" CVS keyword

19 years ago[project @ 2004-09-12 11:27:10 by panne]
panne [Sun, 12 Sep 2004 11:27:38 +0000 (11:27 +0000)]
[project @ 2004-09-12 11:27:10 by panne]
Removed the annoying "Id" CVS keywords, they're a real PITA when it
comes to merging...

19 years ago[project @ 2004-09-11 18:17:04 by panne]
panne [Sat, 11 Sep 2004 18:17:04 +0000 (18:17 +0000)]
[project @ 2004-09-11 18:17:04 by panne]
NOINLINE is mentioned in the H98 report, not NOTINLINE.

MERGE TO STABLE.

19 years ago[project @ 2004-09-10 18:54:21 by panne]
panne [Fri, 10 Sep 2004 18:54:21 +0000 (18:54 +0000)]
[project @ 2004-09-10 18:54:21 by panne]
Unbreak previous commit. Is QA on holiday? :-)

19 years ago[project @ 2004-09-10 14:54:48 by simonmar]
simonmar [Fri, 10 Sep 2004 14:54:48 +0000 (14:54 +0000)]
[project @ 2004-09-10 14:54:48 by simonmar]
RtsShouldNeverHappenCode never happens, now.

19 years ago[project @ 2004-09-10 14:53:44 by simonmar]
simonmar [Fri, 10 Sep 2004 14:53:47 +0000 (14:53 +0000)]
[project @ 2004-09-10 14:53:44 by simonmar]
Fix problem that shows up when building stage2 on Windows: slots of a
vector table that can never happen are normally filled with the
RtsShouldNeverHappen label, which currently prints as "0".  On systems
with leading underscores on labels, such as Windows, this turns into
"_0" which is reported as an undefined symbol.

Having a label print as "0" is a real hack, so the solution is to do
it properly.  This commit does just that.

19 years ago[project @ 2004-09-10 13:58:55 by simonmar]
simonmar [Fri, 10 Sep 2004 13:58:55 +0000 (13:58 +0000)]
[project @ 2004-09-10 13:58:55 by simonmar]
Another SrcSpan fix: the span of a Match now covers the entire equation, not
just the rhs.

19 years ago[project @ 2004-09-10 09:46:21 by simonmar]
simonmar [Fri, 10 Sep 2004 09:46:21 +0000 (09:46 +0000)]
[project @ 2004-09-10 09:46:21 by simonmar]
Update to previous commit: avoid non-portable features of test(1).  It
looks better this way, anyway.

19 years ago[project @ 2004-09-10 09:23:19 by simonmar]
simonmar [Fri, 10 Sep 2004 09:23:19 +0000 (09:23 +0000)]
[project @ 2004-09-10 09:23:19 by simonmar]
Fix bug in decode_tuple (fixes tc177(prof))

19 years ago[project @ 2004-09-09 21:33:07 by simonpj]
simonpj [Thu, 9 Sep 2004 21:33:07 +0000 (21:33 +0000)]
[project @ 2004-09-09 21:33:07 by simonpj]
Fix apparent typo in call to debugBelch; Win32 only I think

19 years ago[project @ 2004-09-09 11:38:09 by stolz]
stolz [Thu, 9 Sep 2004 11:38:09 +0000 (11:38 +0000)]
[project @ 2004-09-09 11:38:09 by stolz]
Move forkProcess()-prototype to RtsExternal.h where package unix can see it
(avoids an 'implicit declaration' warning there)

19 years ago[project @ 2004-09-09 07:07:43 by panne]
panne [Thu, 9 Sep 2004 07:07:43 +0000 (07:07 +0000)]
[project @ 2004-09-09 07:07:43 by panne]
Fixed FP_LEADING_UNDERSCORE macro, removing the need for a special handling
of Mac OS X again.

19 years ago[project @ 2004-09-09 06:55:47 by panne]
panne [Thu, 9 Sep 2004 06:55:47 +0000 (06:55 +0000)]
[project @ 2004-09-09 06:55:47 by panne]
Unified the comments in (almost) empty aclocal.m4 files

19 years ago[project @ 2004-09-09 05:42:26 by sseefried]
sseefried [Thu, 9 Sep 2004 05:42:26 +0000 (05:42 +0000)]
[project @ 2004-09-09 05:42:26 by sseefried]
Added case to FP_LEADING_UNDERSCORE macro for darwin platform.

19 years ago[project @ 2004-09-08 08:55:55 by simonmar]
simonmar [Wed, 8 Sep 2004 08:55:55 +0000 (08:55 +0000)]
[project @ 2004-09-08 08:55:55 by simonmar]
Fix newline wibbles in new message API

19 years ago[project @ 2004-09-08 08:47:54 by simonmar]
simonmar [Wed, 8 Sep 2004 08:47:54 +0000 (08:47 +0000)]
[project @ 2004-09-08 08:47:54 by simonmar]
Minor updates required by VS: return the typechecker's abstract syntax
tree from hscBufferFrontEnd.

19 years ago[project @ 2004-09-07 15:35:39 by stolz]
stolz [Tue, 7 Sep 2004 15:35:43 +0000 (15:35 +0000)]
[project @ 2004-09-07 15:35:39 by stolz]
Add cpp-protected signals sigINFO & sigWINCH if available.
(An autoconf-wizard might want to look at the bottom of configure.ac, the
similarities between HAVE_SIGPOLL, HAVE_SIGINFO & HAVE_SIGWINCH can surely
be factored out)

19 years ago[project @ 2004-09-07 12:30:27 by simonmar]
simonmar [Tue, 7 Sep 2004 12:30:28 +0000 (12:30 +0000)]
[project @ 2004-09-07 12:30:27 by simonmar]
Fix up the SrcSpan on the rhs of a function binding.

19 years ago[project @ 2004-09-07 10:10:07 by simonmar]
simonmar [Tue, 7 Sep 2004 10:10:14 +0000 (10:10 +0000)]
[project @ 2004-09-07 10:10:07 by simonmar]
The 7-ptr-arg version of generic apply has gone away, but parts of the
byte code generator hadn't been updated.  This fixes the ffi009(ghci)
test.

19 years ago[project @ 2004-09-07 09:35:02 by simonmar]
simonmar [Tue, 7 Sep 2004 09:35:03 +0000 (09:35 +0000)]
[project @ 2004-09-07 09:35:02 by simonmar]
Fix bug in finalizeWeak# (should fix memo002 and maybe one or two
other tests).

19 years ago[project @ 2004-09-07 09:00:02 by simonmar]
simonmar [Tue, 7 Sep 2004 09:00:02 +0000 (09:00 +0000)]
[project @ 2004-09-07 09:00:02 by simonmar]
We don't need this any more.

19 years ago[project @ 2004-09-07 08:58:09 by simonmar]
simonmar [Tue, 7 Sep 2004 08:58:09 +0000 (08:58 +0000)]
[project @ 2004-09-07 08:58:09 by simonmar]
Fix up the automatic re-configuring stuff.

19 years ago[project @ 2004-09-06 16:52:54 by ross]
ross [Mon, 6 Sep 2004 16:52:55 +0000 (16:52 +0000)]
[project @ 2004-09-06 16:52:54 by ross]
root nodes are now index.html

19 years ago[project @ 2004-09-06 16:43:04 by ross]
ross [Mon, 6 Sep 2004 16:43:04 +0000 (16:43 +0000)]
[project @ 2004-09-06 16:43:04 by ross]
install chunked html in html/foo

19 years ago[project @ 2004-09-06 14:15:38 by simonmar]
simonmar [Mon, 6 Sep 2004 14:15:38 +0000 (14:15 +0000)]
[project @ 2004-09-06 14:15:38 by simonmar]
some cleanups

19 years ago[project @ 2004-09-06 11:10:32 by simonmar]
simonmar [Mon, 6 Sep 2004 11:12:02 +0000 (11:12 +0000)]
[project @ 2004-09-06 11:10:32 by simonmar]
Further to the RTS messaging tidyup: export the new message API and
hooks via RtsMessages.h, so that a client program can easily redirect
messages.

19 years ago[project @ 2004-09-06 11:00:21 by simonmar]
simonmar [Mon, 6 Sep 2004 11:00:21 +0000 (11:00 +0000)]
[project @ 2004-09-06 11:00:21 by simonmar]
eliminate some more gcc 3.4 warnings

19 years ago[project @ 2004-09-05 19:12:20 by panne]
panne [Sun, 5 Sep 2004 19:12:43 +0000 (19:12 +0000)]
[project @ 2004-09-05 19:12:20 by panne]
* HTML documentation for "foo.xml" goes into directory "foo" again,
  not "foo-html". This is nicer and consistent with the behaviour for
  building the docs from SGML.

* Disabled building PostScript documentation in the spec files for
  now, there are some strange issues with the FO->PS conversion for
  some files which have to be clarified first.

19 years ago[project @ 2004-09-05 17:55:24 by panne]
panne [Sun, 5 Sep 2004 17:55:25 +0000 (17:55 +0000)]
[project @ 2004-09-05 17:55:24 by panne]
Re-nuked SGML support, I crept back in with a previous commit. >:-(

19 years ago[project @ 2004-09-03 20:01:49 by panne]
panne [Fri, 3 Sep 2004 20:01:49 +0000 (20:01 +0000)]
[project @ 2004-09-03 20:01:49 by panne]
The HTML documentation subdirectories have a "-html" suffix nowadays

19 years ago[project @ 2004-09-03 19:35:07 by panne]
panne [Fri, 3 Sep 2004 19:35:07 +0000 (19:35 +0000)]
[project @ 2004-09-03 19:35:07 by panne]
Check for exit code *and* stderr when testing for "-input" in
FP_PROG_AR_SUPPORTS_INPUTS macro.

19 years ago[project @ 2004-09-03 15:28:18 by simonmar]
simonmar [Fri, 3 Sep 2004 15:28:59 +0000 (15:28 +0000)]
[project @ 2004-09-03 15:28:18 by simonmar]
Cleanup: all (well, most) messages from the RTS now go through the
functions in RtsUtils: barf(), debugBelch() and errorBelch().  The
latter two were previously called belch() and prog_belch()
respectively.  See the comments for the right usage of these message
functions.

One reason for doing this is so that we can avoid spurious uses of
stdout/stderr by Haskell apps on platforms where we shouldn't be using
them (eg. non-console apps on Windows).

19 years ago[project @ 2004-09-03 10:11:57 by simonmar]
simonmar [Fri, 3 Sep 2004 10:11:57 +0000 (10:11 +0000)]
[project @ 2004-09-03 10:11:57 by simonmar]
Fix bug in isEmptyMVar#

19 years ago[project @ 2004-09-02 15:21:12 by simonpj]
simonpj [Thu, 2 Sep 2004 15:21:26 +0000 (15:21 +0000)]
[project @ 2004-09-02 15:21:12 by simonpj]
Preserve ExprWithTySig after type checking

19 years ago[project @ 2004-09-02 15:18:34 by simonpj]
simonpj [Thu, 2 Sep 2004 15:18:44 +0000 (15:18 +0000)]
[project @ 2004-09-02 15:18:34 by simonpj]
Make error messages consistent

19 years ago[project @ 2004-09-02 15:18:04 by ross]
ross [Thu, 2 Sep 2004 15:18:10 +0000 (15:18 +0000)]
[project @ 2004-09-02 15:18:04 by ross]
devolve some library-specific configuration

19 years ago[project @ 2004-09-02 12:45:25 by simonmar]
simonmar [Thu, 2 Sep 2004 12:45:25 +0000 (12:45 +0000)]
[project @ 2004-09-02 12:45:25 by simonmar]
Rearrange so that Regs.h include comes before inline function
definitions.  I'm guessing that newer versions of gcc are less picky
about this, which is why we hadn't noticed it.

19 years ago[project @ 2004-09-02 12:34:05 by simonmar]
simonmar [Thu, 2 Sep 2004 12:34:05 +0000 (12:34 +0000)]
[project @ 2004-09-02 12:34:05 by simonmar]
Make the UPD_IND macros compatible with older gccs that don't accept
declarations in the middle of a block.

19 years ago[project @ 2004-09-02 03:22:39 by dons]
dons [Thu, 2 Sep 2004 03:22:39 +0000 (03:22 +0000)]
[project @ 2004-09-02 03:22:39 by dons]
$T_PRE_APP char now appears to be a '#' on OpenBSD/x86.

19 years ago[project @ 2004-09-01 15:57:09 by ross]
ross [Wed, 1 Sep 2004 15:57:15 +0000 (15:57 +0000)]
[project @ 2004-09-01 15:57:09 by ross]
devolve the recently added dirent checks to a new libraries/base/configure.ac

19 years ago[project @ 2004-09-01 15:51:36 by panne]
panne [Wed, 1 Sep 2004 15:51:36 +0000 (15:51 +0000)]
[project @ 2004-09-01 15:51:36 by panne]
Guerrilla tactics: Added --enable-hopengl

19 years ago[project @ 2004-09-01 15:38:25 by panne]
panne [Wed, 1 Sep 2004 15:38:25 +0000 (15:38 +0000)]
[project @ 2004-09-01 15:38:25 by panne]
Nuked SGMLDocWays

19 years ago[project @ 2004-09-01 14:14:29 by simonmar]
simonmar [Wed, 1 Sep 2004 14:14:35 +0000 (14:14 +0000)]
[project @ 2004-09-01 14:14:29 by simonmar]
Minore package GHC fixes, and a couple of changes for Visual Studio.
Messages from the compiler should now go through a new API in
ErrUtils, so that they can be redirected by the GHC client if
necessary.  (currently not all messages go through this interface, but
some of them do).

19 years ago[project @ 2004-09-01 13:14:12 by simonmar]
simonmar [Wed, 1 Sep 2004 13:14:12 +0000 (13:14 +0000)]
[project @ 2004-09-01 13:14:12 by simonmar]
Better fix for previous from Ian Lynagh.

19 years ago[project @ 2004-09-01 10:01:48 by simonmar]
simonmar [Wed, 1 Sep 2004 10:01:48 +0000 (10:01 +0000)]
[project @ 2004-09-01 10:01:48 by simonmar]
Apply the fix from

   [ 1015205 ] ghc-split fails to quote path when used as regex

namely escape backslashes in the pathname $Tmp_prefix before using it
as a regex.  The fix doesn't look like it solves the general case, but
it'll do for now.

19 years ago[project @ 2004-09-01 09:43:25 by simonmar]
simonmar [Wed, 1 Sep 2004 09:43:25 +0000 (09:43 +0000)]
[project @ 2004-09-01 09:43:25 by simonmar]
Catch exit(127) result from raw system, and report that we couldn't
execute the program.  This is a semi-hack; all exec() errors get
reported as exit(127) by rawSystem, but if we treat it just like a
program that does exit(127) then the user sees no output.

19 years ago[project @ 2004-09-01 08:43:23 by simonmar]
simonmar [Wed, 1 Sep 2004 08:43:23 +0000 (08:43 +0000)]
[project @ 2004-09-01 08:43:23 by simonmar]
Fix profiling (ASSIGN_CCSID macros had gone away).

19 years ago[project @ 2004-08-31 19:06:29 by sof]
sof [Tue, 31 Aug 2004 19:06:29 +0000 (19:06 +0000)]
[project @ 2004-08-31 19:06:29 by sof]
RTS_SYMBOLS: added closure_flags (innards-peeking user code may use this); merge to STABLE

19 years ago[project @ 2004-08-31 16:19:54 by panne]
panne [Tue, 31 Aug 2004 16:19:54 +0000 (16:19 +0000)]
[project @ 2004-08-31 16:19:54 by panne]
Fixed version/release magic. Actually I think we're doing things the wrong way
here: We should use AC_INIT with a version parameter as the central place for
this info and substitute what's needed into the rest of the files.

19 years ago[project @ 2004-08-31 16:02:42 by ross]
ross [Tue, 31 Aug 2004 16:02:42 +0000 (16:02 +0000)]
[project @ 2004-08-31 16:02:42 by ross]
markup fixes (and one typo) in arrow notation section

19 years ago[project @ 2004-08-31 15:54:08 by ross]
ross [Tue, 31 Aug 2004 15:54:08 +0000 (15:54 +0000)]
[project @ 2004-08-31 15:54:08 by ross]
add the Debian location for XSL stylesheets

19 years ago[project @ 2004-08-31 12:45:35 by simonmar]
simonmar [Tue, 31 Aug 2004 12:45:36 +0000 (12:45 +0000)]
[project @ 2004-08-31 12:45:35 by simonmar]
Get the version number into ghc-pkg by creating Version.hs from the
Makefile to avoid GHC and possibly shell versionitis.

19 years ago[project @ 2004-08-31 12:28:18 by simonmar]
simonmar [Tue, 31 Aug 2004 12:28:18 +0000 (12:28 +0000)]
[project @ 2004-08-31 12:28:18 by simonmar]
Try to fix up the previous commit.  I'm not sure if this is quite
right, but it should be closer.

19 years ago[project @ 2004-08-31 11:38:53 by simonmar]
simonmar [Tue, 31 Aug 2004 11:38:53 +0000 (11:38 +0000)]
[project @ 2004-08-31 11:38:53 by simonmar]
Warning fix on Win32.

19 years ago[project @ 2004-08-31 09:48:28 by simonmar]
simonmar [Tue, 31 Aug 2004 09:48:29 +0000 (09:48 +0000)]
[project @ 2004-08-31 09:48:28 by simonmar]
Rationalise the install settings a bit.  Before, if you had $OWNER or
$GROUP set in your environment, then these would lead to options being
given to install, possibly with unexpected results.  This caused
install to fail for at least one person.

Now, $(INSTALL_OWNER) and $(INSTALL_GROUP) are set via
config.mk/build.mk as with other settings.

19 years ago[project @ 2004-08-30 19:44:38 by sof]
sof [Mon, 30 Aug 2004 19:44:38 +0000 (19:44 +0000)]
[project @ 2004-08-30 19:44:38 by sof]
turns out that 5.04.x differs in how args are quoted across plats; try to cope.

19 years ago[project @ 2004-08-30 19:28:46 by panne]
panne [Mon, 30 Aug 2004 19:28:47 +0000 (19:28 +0000)]
[project @ 2004-08-30 19:28:46 by panne]
Cleaned up FPTOOLS_UNDERSCORE (changequote is evil!) and renamed it to
FP_LEADING_UNDERSCORE

19 years ago[project @ 2004-08-30 18:31:34 by panne]
panne [Mon, 30 Aug 2004 18:31:34 +0000 (18:31 +0000)]
[project @ 2004-08-30 18:31:34 by panne]
The crusade against configuration bit rot continues: Cleaned up header checks

19 years ago[project @ 2004-08-30 18:15:12 by panne]
panne [Mon, 30 Aug 2004 18:15:12 +0000 (18:15 +0000)]
[project @ 2004-08-30 18:15:12 by panne]
Removed duplicate tests for headers

19 years ago[project @ 2004-08-30 18:11:55 by panne]
panne [Mon, 30 Aug 2004 18:11:55 +0000 (18:11 +0000)]
[project @ 2004-08-30 18:11:55 by panne]
Nuked tests already done via standard AC_INCLUDES_DEFAULT

19 years ago[project @ 2004-08-30 17:47:36 by panne]
panne [Mon, 30 Aug 2004 17:47:36 +0000 (17:47 +0000)]
[project @ 2004-08-30 17:47:36 by panne]
Removed unused function checks

19 years ago[project @ 2004-08-30 16:20:54 by sof]
sof [Mon, 30 Aug 2004 16:20:54 +0000 (16:20 +0000)]
[project @ 2004-08-30 16:20:54 by sof]
doh

19 years ago[project @ 2004-08-30 15:43:14 by sof]
sof [Mon, 30 Aug 2004 15:43:14 +0000 (15:43 +0000)]
[project @ 2004-08-30 15:43:14 by sof]
escape GHC_PKG_VERSION double quotes on all platforms when compiling with <=6.0.x

19 years ago[project @ 2004-08-28 16:51:18 by panne]
panne [Sat, 28 Aug 2004 16:51:18 +0000 (16:51 +0000)]
[project @ 2004-08-28 16:51:18 by panne]
Trimmed a few function checks

19 years ago[project @ 2004-08-28 16:20:35 by panne]
panne [Sat, 28 Aug 2004 16:20:36 +0000 (16:20 +0000)]
[project @ 2004-08-28 16:20:35 by panne]
Beautified test for ghc-pkg

19 years ago[project @ 2004-08-28 15:50:44 by panne]
panne [Sat, 28 Aug 2004 15:50:44 +0000 (15:50 +0000)]
[project @ 2004-08-28 15:50:44 by panne]
Aesthetic fix: Redirect error messages for non-GNU ar to /dev/null

19 years ago[project @ 2004-08-27 22:36:49 by sof]
sof [Fri, 27 Aug 2004 22:36:49 +0000 (22:36 +0000)]
[project @ 2004-08-27 22:36:49 by sof]
all target: if building GMP, only descend into gmp/ when way=""

19 years ago[project @ 2004-08-27 08:29:04 by simonpj]
simonpj [Fri, 27 Aug 2004 08:29:04 +0000 (08:29 +0000)]
[project @ 2004-08-27 08:29:04 by simonpj]
Better tags generation, avoiding derived files (still a bit ad hoc)

19 years ago[project @ 2004-08-27 08:17:07 by simonpj]
simonpj [Fri, 27 Aug 2004 08:17:07 +0000 (08:17 +0000)]
[project @ 2004-08-27 08:17:07 by simonpj]
Oops: always qualify when printing code

19 years ago[project @ 2004-08-26 21:03:18 by panne]
panne [Thu, 26 Aug 2004 21:03:20 +0000 (21:03 +0000)]
[project @ 2004-08-26 21:03:18 by panne]
Updated BuildRequires tags. Alas, there seems to be no real standard here, so
your mileage may vary... At least the current specs should work on SuSE Linux.

19 years ago[project @ 2004-08-26 20:08:39 by panne]
panne [Thu, 26 Aug 2004 20:08:55 +0000 (20:08 +0000)]
[project @ 2004-08-26 20:08:39 by panne]
SGML is dead, long live DocBook XML!

Note: The BuildRequires tags in the spec files are still incomplete
and the documentation about the DocBook tools needs to be updated,
too. Stay tuned...

19 years ago[project @ 2004-08-26 15:44:50 by simonpj]
simonpj [Thu, 26 Aug 2004 15:45:08 +0000 (15:45 +0000)]
[project @ 2004-08-26 15:44:50 by simonpj]
-------------------------------
Print built-in sytax right
-------------------------------

Built-in syntax, like (:) and [], is not "in scope" via the GlobalRdrEnv
in the usual way.  When we print it out, we should also print it in unqualified
form, even though it's not in the environment.

I've finally bitten the (not very big) bullet, and added to Name the information
about whether or not a name is one of these built-in ones.  That entailed changing
the calls to mkWiredInName, but those are exactly the places where you have to
decide whether it's built-in or not, which is fine.

Built-in syntax => It's a syntactic form, not "in scope" (e.g. [])

Wired-in thing  => The thing (Id, TyCon) is fully known to the compiler,
   not read from an interface file.
   E.g. Bool, True, Int, Float, and many others

All built-in syntax is for wired-in things.