haskell-directory.git
18 years ago[project @ 2005-07-14 11:57:09 by ross]
ross [Thu, 14 Jul 2005 11:57:09 +0000 (11:57 +0000)]
[project @ 2005-07-14 11:57:09 by ross]
Hugs only: more specific imports

18 years ago[project @ 2005-07-10 23:01:24 by ross]
ross [Sun, 10 Jul 2005 23:01:24 +0000 (23:01 +0000)]
[project @ 2005-07-10 23:01:24 by ross]
doc fix from Remi Turk

MERGE to STABLE

18 years ago[project @ 2005-07-08 17:17:31 by sof]
sof [Fri, 8 Jul 2005 17:17:31 +0000 (17:17 +0000)]
[project @ 2005-07-08 17:17:31 by sof]
- System.Posix.Internals.FDType.RawDevice: new constructor.
- System.Posix.Internals.fdType: map block devices to RawDevice
  (but left character devices as still being Streams).
- GHC.IOBase.isReadWriteHandleType: new HandleType predicate.
- GHC.Handle.hIsSeekable: RawDevices are seekable.
- GHC.Handle.openFd: handle RawDevices.
   => opening of block devices via std IO opening actions
      (open{Binary}File, openFd etc.) should now work better.

Merge to STABLE.

18 years ago[project @ 2005-07-08 13:17:47 by simonmar]
simonmar [Fri, 8 Jul 2005 13:17:47 +0000 (13:17 +0000)]
[project @ 2005-07-08 13:17:47 by simonmar]
oops, fix imports

18 years ago[project @ 2005-07-08 12:22:02 by simonmar]
simonmar [Fri, 8 Jul 2005 12:22:02 +0000 (12:22 +0000)]
[project @ 2005-07-08 12:22:02 by simonmar]
Fix instance Eq Version

18 years ago[project @ 2005-07-06 16:17:36 by malcolm]
malcolm [Wed, 6 Jul 2005 16:17:36 +0000 (16:17 +0000)]
[project @ 2005-07-06 16:17:36 by malcolm]
Fix (from Scott Turner) for a broken implementation of 'split'.

18 years ago[project @ 2005-07-06 12:25:53 by simonmar]
simonmar [Wed, 6 Jul 2005 12:25:53 +0000 (12:25 +0000)]
[project @ 2005-07-06 12:25:53 by simonmar]
runProcess: allow duplicate Handles to be passed in without deadlock.
Fixes #1187295.

18 years ago[project @ 2005-07-06 12:13:04 by simonmar]
simonmar [Wed, 6 Jul 2005 12:13:04 +0000 (12:13 +0000)]
[project @ 2005-07-06 12:13:04 by simonmar]
Close Handles passed to runProcess.  Fixes #1187302

18 years ago[project @ 2005-07-04 10:22:17 by ross]
ross [Mon, 4 Jul 2005 10:22:17 +0000 (10:22 +0000)]
[project @ 2005-07-04 10:22:17 by ross]
add Typeable instance

18 years ago[project @ 2005-06-27 22:31:41 by simonmar]
simonmar [Mon, 27 Jun 2005 22:31:41 +0000 (22:31 +0000)]
[project @ 2005-06-27 22:31:41 by simonmar]
As discussed on ghc-users some time ago, optimise the representation
of ForeignPtr to make withForeignPtr more efficient.  ForeignPtr is
now represented by a pair of an Addr# and a ForeignPtrContents object.

withForeignPtr just extracts the Addr# and touches the
ForeignPtrContents.

ForeignPtr no longer uses the primitive ForeignObj# type: it isn't
required, since we attach the finalizer to the IORef inside
ForeignPtrContents now.  In fact, the ForeignObj# type is now
obsolete, and can be removed.

18 years ago[project @ 2005-06-27 13:56:32 by simonmar]
simonmar [Mon, 27 Jun 2005 13:56:32 +0000 (13:56 +0000)]
[project @ 2005-06-27 13:56:32 by simonmar]
Fix performance buglet: small Float literals weren't being simplified
enough because the fromInteger method is defined in terms of
encodeFloat, which itself is an FFI call.  Double was already fixed,
this change does the right thing for Float too.

18 years ago[project @ 2005-06-10 13:21:52 by simonpj]
simonpj [Fri, 10 Jun 2005 13:21:52 +0000 (13:21 +0000)]
[project @ 2005-06-10 13:21:52 by simonpj]
Make toConstr strict for tuples, so that it's uniform with
all other data types.

This inconsistency is really a bug:
MERGE to STABLE

18 years ago[project @ 2005-06-10 13:19:41 by simonpj]
simonpj [Fri, 10 Jun 2005 13:19:41 +0000 (13:19 +0000)]
[project @ 2005-06-10 13:19:41 by simonpj]
Eta-contract foldr/app RULE to avoid overlap with foldr/id

18 years ago[project @ 2005-05-27 19:26:34 by simonmar]
simonmar [Fri, 27 May 2005 19:26:34 +0000 (19:26 +0000)]
[project @ 2005-05-27 19:26:34 by simonmar]
hLookAhead: don't wait for a completely full buffer

18 years ago[project @ 2005-05-13 16:58:02 by sof]
sof [Fri, 13 May 2005 16:58:02 +0000 (16:58 +0000)]
[project @ 2005-05-13 16:58:02 by sof]
flush_input_console__(): if the fd isn't connected to a console, treat flush as a NOP. Merge to STABLE.

19 years ago[project @ 2005-05-06 00:30:56 by sof]
sof [Fri, 6 May 2005 00:30:57 +0000 (00:30 +0000)]
[project @ 2005-05-06 00:30:56 by sof]
[mingw only]
Work around bug in win32 Console API which showed up in the GHCi UI:
if the user typed in characters prior to the appearance of the prompt,
the first of these characters always came out as a 'g'. The GHCi UI does
for good reasons one-character reads from 'stdin', which causes the
underlying APIs to become confused. A simple repro case is the following
piece of C code:

/*----------------------*/
#include <stdio.h>
#include <windows.h>
int main()
{
    char ch1,ch2;
    HANDLE hStdIn = GetStdHandle(STD_INPUT_HANDLE);
    DWORD dw;

    /* Type in some characters before the prompt appears and be amused.. */
    sleep(1000); printf("? ");
    ReadConsoleA(hStdIn,&ch1,1,&dw,NULL);
    ReadConsoleA(hStdIn,&ch2,1,&dw,NULL);
/*  or, if you want to use libc:
    read(0,&ch1,1); read(0,&ch2,1); */

    printf("%c%c\n", ch1,ch2);
    return 0;
}
/*----------------------*/

This happens across win32 OSes, and I can't see anything untoward as far
as API usage goes (the GHC IO implementation uses read(), but that
reduces to ReadConsoleA() calls.) People inside the Behemoth might want
to have a closer look at this..

Not much we can do about this except work around the problem by flushing
the input buffer prior to reading from stdin. Not ideal, as type-ahead
is a useful feature. Flushing is handled by GHC.ConsoleHandler.flushConsole

Merge to STABLE.

19 years ago[project @ 2005-05-04 15:07:47 by simonmar]
simonmar [Wed, 4 May 2005 15:07:47 +0000 (15:07 +0000)]
[project @ 2005-05-04 15:07:47 by simonmar]
Do *not* inline runSTRep now (see comments for details).

19 years ago[project @ 2005-04-25 13:25:08 by simonmar] arity-anal-branch-point
simonmar [Mon, 25 Apr 2005 13:25:08 +0000 (13:25 +0000)]
[project @ 2005-04-25 13:25:08 by simonmar]
Only ftruncate() regular files.

19 years ago[project @ 2005-04-22 17:00:49 by sof]
sof [Fri, 22 Apr 2005 17:00:49 +0000 (17:00 +0000)]
[project @ 2005-04-22 17:00:49 by sof]
[mingw only]
Better handling of I/O request abortions upon throwing an exception
to a Haskell thread. As was, a thread blocked on an I/O request was
simply unblocked, but its corresponding worker thread wasn't notified
that the request had been abandoned.

This manifested itself in GHCi upon Ctrl-C being hit at the prompt -- the
worker thread blocked waiting for input on stdin prior to Ctrl-C would
stick around even though its corresponding Haskell thread had been
thrown an Interrupted exception. The upshot was that the worker would
consume the next character typed in after Ctrl-C, but then just dropping
it. Dealing with this turned out to be even more interesting due to
Win32 aborting any console reads when Ctrl-C/Break events are delivered.

The story could be improved upon (at the cost of portability) by making
the Scheduler able to abort worker thread system calls; as is, requests
are cooperatively abandoned. Maybe later.

Also included are other minor tidyups to Ctrl-C handling under mingw.

Merge to STABLE.

19 years ago[project @ 2005-04-22 16:07:36 by sof]
sof [Fri, 22 Apr 2005 16:07:36 +0000 (16:07 +0000)]
[project @ 2005-04-22 16:07:36 by sof]
make DEBUG_DUMP-conditional code compile

19 years ago[project @ 2005-04-21 09:40:41 by simonmar]
simonmar [Thu, 21 Apr 2005 09:40:41 +0000 (09:40 +0000)]
[project @ 2005-04-21 09:40:41 by simonmar]
Add unsafeForeignPtrToStorableArray

19 years ago[project @ 2005-04-17 10:06:16 by panne]
panne [Sun, 17 Apr 2005 10:06:16 +0000 (10:06 +0000)]
[project @ 2005-04-17 10:06:16 by panne]
Merged "unrecoginzed long opt" fix from Distribution.GetOpt

MERGE TO STABLE

19 years ago[project @ 2005-04-12 12:57:49 by ross]
ross [Tue, 12 Apr 2005 12:57:49 +0000 (12:57 +0000)]
[project @ 2005-04-12 12:57:49 by ross]
clarify docs of insert and union.

(for STABLE)

19 years ago[project @ 2005-04-07 23:36:48 by sof]
sof [Thu, 7 Apr 2005 23:36:48 +0000 (23:36 +0000)]
[project @ 2005-04-07 23:36:48 by sof]
import reordering wibble to make it mingw-palatable.

Merge to STABLE.

19 years ago[project @ 2005-04-07 14:33:31 by simonmar]
simonmar [Thu, 7 Apr 2005 14:33:32 +0000 (14:33 +0000)]
[project @ 2005-04-07 14:33:31 by simonmar]
Support handling signals in the threaded RTS by passing the signal
number down the pipe to the IO manager.  This avoids needing
synchronisation in the signal handler.

Signals should now work with -threaded.  Since this is a bugfix, I'll
merge the changes into the 6.4 branch.

19 years ago[project @ 2005-04-06 22:05:58 by simonmar]
simonmar [Wed, 6 Apr 2005 22:05:58 +0000 (22:05 +0000)]
[project @ 2005-04-06 22:05:58 by simonmar]
Fix bug in hDuplicateTo

MERGE TO STABLE

19 years ago[project @ 2005-04-05 08:38:24 by simonmar]
simonmar [Tue, 5 Apr 2005 08:38:24 +0000 (08:38 +0000)]
[project @ 2005-04-05 08:38:24 by simonmar]
Determine the location of CMD.EXE (or COMMAND.COM) using the same
algorithm as system() from msvcrt.

19 years ago[project @ 2005-04-04 12:16:45 by simonpj]
simonpj [Mon, 4 Apr 2005 12:16:45 +0000 (12:16 +0000)]
[project @ 2005-04-04 12:16:45 by simonpj]
Default method for unsafeRangeSize should use unsafeIndex!

19 years ago[project @ 2005-04-04 08:02:53 by simonmar]
simonmar [Mon, 4 Apr 2005 08:02:53 +0000 (08:02 +0000)]
[project @ 2005-04-04 08:02:53 by simonmar]
doc fix

19 years ago[project @ 2005-04-02 04:39:35 by dons]
dons [Sat, 2 Apr 2005 04:39:35 +0000 (04:39 +0000)]
[project @ 2005-04-02 04:39:35 by dons]
Typo in comment only:
"Causes a the finalizers associated with a foreign pointer..."
to
"Causes the finalizers associated with a foreign pointer..."

19 years ago[project @ 2005-03-31 21:40:15 by wolfgang]
wolfgang [Thu, 31 Mar 2005 21:40:15 +0000 (21:40 +0000)]
[project @ 2005-03-31 21:40:15 by wolfgang]
Fix handling of end-of-options markers (--).
getOpt would correctly return the non-options after the marker, but it
would return errors for things after the marker that looked like options.

MERGE TO STABLE

19 years ago[project @ 2005-03-30 11:15:21 by simonmar]
simonmar [Wed, 30 Mar 2005 11:15:21 +0000 (11:15 +0000)]
[project @ 2005-03-30 11:15:21 by simonmar]
Ord instance: use toAscList instead of toList (doc change only; these
functiosn are the same).

19 years ago[project @ 2005-03-27 13:41:19 by panne]
panne [Sun, 27 Mar 2005 13:41:19 +0000 (13:41 +0000)]
[project @ 2005-03-27 13:41:19 by panne]
* Some preprocessors don't like the C99/C++ '//' comments after a
  directive, so use '/* */' instead. For consistency, a lot of '//' in
  the include files were converted, too.

* UnDOSified libraries/base/cbits/runProcess.c.

* My favourite sport: Killed $Id$s.

19 years ago[project @ 2005-03-24 09:19:52 by simonmar]
simonmar [Thu, 24 Mar 2005 09:19:52 +0000 (09:19 +0000)]
[project @ 2005-03-24 09:19:52 by simonmar]
__hscore_getFolderPath is ccall, not stdcall.

19 years ago[project @ 2005-03-21 18:04:48 by sof]
sof [Mon, 21 Mar 2005 18:04:48 +0000 (18:04 +0000)]
[project @ 2005-03-21 18:04:48 by sof]
__hscore_getFolderPath(): Don't limit ourselves to shell32.dll, look up
  shfolder.dll too.

Merge to STABLE.

19 years ago[project @ 2005-03-19 02:03:26 by sof]
sof [Sat, 19 Mar 2005 02:03:27 +0000 (02:03 +0000)]
[project @ 2005-03-19 02:03:26 by sof]
[Windows only]
for System.Directory / Compat.Directory functionality that probes the OS
for local details re: misc user directories, perform late binding of
SHGetFolderPath() from shell32.dll, as it may not be present.
(cf. ghc-6.4's failure to operate on Win9x / NT boxes.) If the API isn't
there, fail with UnsupportedOperation.
Packages.readPackageConfigs: gracefully handle excns from getAppUserDataDirectory.

Merge to STABLE.

19 years ago[project @ 2005-03-18 17:28:08 by krasimir]
krasimir [Fri, 18 Mar 2005 17:28:08 +0000 (17:28 +0000)]
[project @ 2005-03-18 17:28:08 by krasimir]
HACK: The redirection of standard handles under Windows is a little bit tricky
because we have to take in account that the application can be GUI.
The commit affects only Windows GUI applications.

MERGE TO STABLE

19 years ago[project @ 2005-03-16 13:27:03 by ross]
ross [Wed, 16 Mar 2005 13:27:04 +0000 (13:27 +0000)]
[project @ 2005-03-16 13:27:03 by ross]
Data.Char docs, and hide GHC.Unicode

19 years ago[project @ 2005-03-16 10:55:04 by simonmar]
simonmar [Wed, 16 Mar 2005 10:55:04 +0000 (10:55 +0000)]
[project @ 2005-03-16 10:55:04 by simonmar]
Back-port changes from WCsubst.c:iswprint()

19 years ago[project @ 2005-03-15 17:19:09 by ross]
ross [Tue, 15 Mar 2005 17:19:09 +0000 (17:19 +0000)]
[project @ 2005-03-15 17:19:09 by ross]
Nhc: export the new names

19 years ago[project @ 2005-03-15 17:18:24 by ross]
ross [Tue, 15 Mar 2005 17:18:24 +0000 (17:18 +0000)]
[project @ 2005-03-15 17:18:24 by ross]
remove unused WInt type

19 years ago[project @ 2005-03-15 13:38:27 by simonmar]
simonmar [Tue, 15 Mar 2005 13:38:27 +0000 (13:38 +0000)]
[project @ 2005-03-15 13:38:27 by simonmar]
patch for iswprint() from Dimitry.

19 years ago[project @ 2005-03-15 12:15:15 by malcolm]
malcolm [Tue, 15 Mar 2005 12:15:16 +0000 (12:15 +0000)]
[project @ 2005-03-15 12:15:15 by malcolm]
nhc98 can use the WCsubst.c stuff for Unicode as well.

19 years ago[project @ 2005-03-14 18:02:48 by ross]
ross [Mon, 14 Mar 2005 18:02:49 +0000 (18:02 +0000)]
[project @ 2005-03-14 18:02:48 by ross]
move general categories and derived predicates to Data.Char

19 years ago[project @ 2005-03-14 17:23:22 by ross]
ross [Mon, 14 Mar 2005 17:23:22 +0000 (17:23 +0000)]
[project @ 2005-03-14 17:23:22 by ross]
Hugs only: don't import Data.{Eq,Ord}

19 years ago[project @ 2005-03-14 16:26:47 by simonmar]
simonmar [Mon, 14 Mar 2005 16:26:47 +0000 (16:26 +0000)]
[project @ 2005-03-14 16:26:47 by simonmar]
Fix export of Ordering

19 years ago[project @ 2005-03-14 15:57:57 by simonmar]
simonmar [Mon, 14 Mar 2005 15:57:57 +0000 (15:57 +0000)]
[project @ 2005-03-14 15:57:57 by simonmar]
Add the script used to generate WCsubst.c

19 years ago[project @ 2005-03-14 15:57:04 by malcolm]
malcolm [Mon, 14 Mar 2005 15:57:04 +0000 (15:57 +0000)]
[project @ 2005-03-14 15:57:04 by malcolm]
Plumb in Data.Eq and Data.Ord.

19 years ago[project @ 2005-03-14 15:52:03 by simonmar]
simonmar [Mon, 14 Mar 2005 15:52:03 +0000 (15:52 +0000)]
[project @ 2005-03-14 15:52:03 by simonmar]
doc comparing

19 years ago[project @ 2005-03-14 15:46:12 by simonmar]
simonmar [Mon, 14 Mar 2005 15:46:12 +0000 (15:46 +0000)]
[project @ 2005-03-14 15:46:12 by simonmar]
Add Data.Ord and Data.Eq.  Data.Ord also exports the new function
'comparing', as discussed on the libraries list a while back.

19 years ago[project @ 2005-03-14 15:22:51 by simonmar]
simonmar [Mon, 14 Mar 2005 15:22:51 +0000 (15:22 +0000)]
[project @ 2005-03-14 15:22:51 by simonmar]
- isDigit only returns True for ASCII digits
- Export the new predicates from Data.Char

19 years ago[project @ 2005-03-14 12:18:05 by simonmar]
simonmar [Mon, 14 Mar 2005 12:18:08 +0000 (12:18 +0000)]
[project @ 2005-03-14 12:18:05 by simonmar]
Add Dimitry Golubovsky <dimitry@golubovsky.org>'s Unicode character
class implementation.  This will remove the dependency on libc's
locale code and give us much more consistent support for Unicode
across platforms.

19 years ago[project @ 2005-03-10 17:23:06 by malcolm] nhc98-1-18-release
malcolm [Thu, 10 Mar 2005 17:23:06 +0000 (17:23 +0000)]
[project @ 2005-03-10 17:23:06 by malcolm]
Change configuration for nhc98 on Cygwin only.

19 years ago[project @ 2005-03-10 10:00:39 by simonpj]
simonpj [Thu, 10 Mar 2005 10:00:39 +0000 (10:00 +0000)]
[project @ 2005-03-10 10:00:39 by simonpj]
Read instances for tuples

19 years ago[project @ 2005-03-09 17:47:50 by simonpj]
simonpj [Wed, 9 Mar 2005 17:47:50 +0000 (17:47 +0000)]
[project @ 2005-03-09 17:47:50 by simonpj]
Add instances for Bounded and Show up to 15-tuples

19 years ago[project @ 2005-03-07 13:02:37 by simonmar]
simonmar [Mon, 7 Mar 2005 13:02:37 +0000 (13:02 +0000)]
[project @ 2005-03-07 13:02:37 by simonmar]
Add dynTypeRep, from John Meacham.

19 years ago[project @ 2005-03-07 10:40:44 by simonmar]
simonmar [Mon, 7 Mar 2005 10:40:44 +0000 (10:40 +0000)]
[project @ 2005-03-07 10:40:44 by simonmar]
merge rev. 1.4.2.1 to HEAD

19 years ago[project @ 2005-03-05 15:13:01 by panne]
panne [Sat, 5 Mar 2005 15:13:01 +0000 (15:13 +0000)]
[project @ 2005-03-05 15:13:01 by panne]
Warning police again: Use the "official" hs_free_stable_ptr from
HsFFI.h instead of the internal freeStablePtr, avoiding

   implicit declaration of function `freeStablePtr'

warnings from gcc when compiling via C.

19 years ago[project @ 2005-03-04 18:26:48 by sof]
sof [Fri, 4 Mar 2005 18:26:48 +0000 (18:26 +0000)]
[project @ 2005-03-04 18:26:48 by sof]
Temper 'libm' testing -- if 'atan' is available straight from libc,
no need to include libm.

Merge to STABLE

19 years ago[project @ 2005-03-03 05:11:41 by chak]
chak [Thu, 3 Mar 2005 05:11:41 +0000 (05:11 +0000)]
[project @ 2005-03-03 05:11:41 by chak]
Merge to STABLE

* Fixed two bugs reported on glasgow-haskell-users

19 years ago[project @ 2005-03-02 16:39:56 by ross]
ross [Wed, 2 Mar 2005 16:39:57 +0000 (16:39 +0000)]
[project @ 2005-03-02 16:39:56 by ross]
*Config.h files are in include/ (MERGE to STABLE)

19 years ago[project @ 2005-03-02 14:46:14 by simonmar]
simonmar [Wed, 2 Mar 2005 14:46:14 +0000 (14:46 +0000)]
[project @ 2005-03-02 14:46:14 by simonmar]
distcleaning of things generated by configure

19 years ago[project @ 2005-03-02 13:11:00 by simonmar]
simonmar [Wed, 2 Mar 2005 13:11:00 +0000 (13:11 +0000)]
[project @ 2005-03-02 13:11:00 by simonmar]
We should not assume that the timeout parameter to select() is updated
with the time left over after select() returns.  Linux does this, but
FreeBSD does not.

Fixes -threaded hangs on FreeBSD.

19 years ago[project @ 2005-02-26 12:14:54 by panne]
panne [Sat, 26 Feb 2005 12:14:56 +0000 (12:14 +0000)]
[project @ 2005-02-26 12:14:54 by panne]
Moved Monoid instances of collection types to Data.Monoid, concentrating non-H98
stuff to a single place.

19 years ago[project @ 2005-02-25 10:42:24 by simonmar]
simonmar [Fri, 25 Feb 2005 10:42:24 +0000 (10:42 +0000)]
[project @ 2005-02-25 10:42:24 by simonmar]
Add instance Typeable Queue

19 years ago[project @ 2005-02-24 09:58:23 by simonmar]
simonmar [Thu, 24 Feb 2005 09:58:24 +0000 (09:58 +0000)]
[project @ 2005-02-24 09:58:23 by simonmar]
nDoc fixes from Sven Panne.  Generally fixing of Haddock links, adding
some signatures, and in some cases exporting type constructors that
are mentioned in the types of exported identifiers.

19 years ago[project @ 2005-02-23 06:31:22 by dons]
dons [Wed, 23 Feb 2005 06:31:22 +0000 (06:31 +0000)]
[project @ 2005-02-23 06:31:22 by dons]
Typo in comment only. Spotted by sjanssen on #haskell.

19 years ago[project @ 2005-02-21 11:36:07 by simonmar]
simonmar [Mon, 21 Feb 2005 11:36:07 +0000 (11:36 +0000)]
[project @ 2005-02-21 11:36:07 by simonmar]
docs only: clarify language in a couple of places.

From: Paul Steckler [paul.steckler.ctr@metnet.navy.mil]

19 years ago[project @ 2005-02-18 18:30:40 by ross]
ross [Fri, 18 Feb 2005 18:30:40 +0000 (18:30 +0000)]
[project @ 2005-02-18 18:30:40 by ross]
Rename package description fields as in InstalledPackageInfo:

options-ghc -> ghc-options
options-hugs -> hugs-options
options-nhc -> nhc-options
extra-libs -> extra-libraries

19 years ago[project @ 2005-02-18 15:06:45 by simonmar]
simonmar [Fri, 18 Feb 2005 15:06:45 +0000 (15:06 +0000)]
[project @ 2005-02-18 15:06:45 by simonmar]
Rename fields in InstalledPackageInfo for consistency with
PackageDescription & buildInfo:

 extra-libs (extraLibraries) --> extra-libraries (extraLibraries)
 extra-cc-opts (extraCcOpts) --> cc-options (ccOptions)
 extra-ld-opts (extraLdOpts) --> ld-options (ldOptions)
 extra-hugs-opts (extraHugsOpts) --> hugs-options (hugsOptions)
 extra-frameworks (extraFrameworks) --> frameworks (frameworks)

19 years ago[project @ 2005-02-15 08:09:43 by ross]
ross [Tue, 15 Feb 2005 08:09:43 +0000 (08:09 +0000)]
[project @ 2005-02-15 08:09:43 by ross]
Hugs only: use binary handles for copyFile

19 years ago[project @ 2005-02-13 10:53:13 by malcolm]
malcolm [Sun, 13 Feb 2005 10:53:13 +0000 (10:53 +0000)]
[project @ 2005-02-13 10:53:13 by malcolm]
Eliminate more explicit dependencies in Makefiles: use hmake to
create the bootstrapping .hc files, as well as the ordinary .o files.

19 years ago[project @ 2005-02-11 11:36:23 by simonmar]
simonmar [Fri, 11 Feb 2005 11:36:23 +0000 (11:36 +0000)]
[project @ 2005-02-11 11:36:23 by simonmar]
Add bracketOnError

19 years ago[project @ 2005-02-11 01:55:56 by ross]
ross [Fri, 11 Feb 2005 01:55:56 +0000 (01:55 +0000)]
[project @ 2005-02-11 01:55:56 by ross]
track syntax changes:

* add License-File and Synopsis fields

* rename Hidden-Fields as Other-Fields

These files are used only by Hugs, but are also useful as examples.

19 years ago[project @ 2005-02-07 15:26:10 by malcolm]
malcolm [Mon, 7 Feb 2005 15:26:10 +0000 (15:26 +0000)]
[project @ 2005-02-07 15:26:10 by malcolm]
Place imports before #includes, just to reduce the number of 'file
not found' warnings from hmake.

19 years ago[project @ 2005-02-07 12:21:29 by simonmar]
simonmar [Mon, 7 Feb 2005 12:21:29 +0000 (12:21 +0000)]
[project @ 2005-02-07 12:21:29 by simonmar]
After no response on libraries@haskell.org... John Meacham's
Data.Graph patch, which returns an extra component from
graphFromEdges.  The old version of graphFromEdges is available as
graphFromEdges'.

19 years ago[project @ 2005-02-07 09:56:42 by ross]
ross [Mon, 7 Feb 2005 09:56:43 +0000 (09:56 +0000)]
[project @ 2005-02-07 09:56:42 by ross]
a few docs (for STABLE)

19 years ago[project @ 2005-02-05 00:41:35 by ross]
ross [Sat, 5 Feb 2005 00:41:37 +0000 (00:41 +0000)]
[project @ 2005-02-05 00:41:35 by ross]
more Haddock fixes.

Now the only dangling links are in System.Directory, referring to the
hidden module GHC.IOBase for constructors of IOException.

19 years ago[project @ 2005-02-04 14:36:52 by simonmar]
simonmar [Fri, 4 Feb 2005 14:36:52 +0000 (14:36 +0000)]
[project @ 2005-02-04 14:36:52 by simonmar]
Add a comment to Ross's previous commit (sorry, forgot to commit my
version of that change earlier).

19 years ago[project @ 2005-02-04 14:20:57 by ross]
ross [Fri, 4 Feb 2005 14:20:57 +0000 (14:20 +0000)]
[project @ 2005-02-04 14:20:57 by ross]
if this can't be hidden, at least make it not-home

19 years ago[project @ 2005-02-03 10:38:44 by simonmar]
simonmar [Thu, 3 Feb 2005 10:38:45 +0000 (10:38 +0000)]
[project @ 2005-02-03 10:38:44 by simonmar]
unhide a few modules

19 years ago[project @ 2005-02-03 10:32:11 by ross]
ross [Thu, 3 Feb 2005 10:32:20 +0000 (10:32 +0000)]
[project @ 2005-02-03 10:32:11 by ross]
hide GHC internals from Haddock

19 years ago[project @ 2005-02-02 15:28:49 by simonmar]
simonmar [Wed, 2 Feb 2005 15:30:09 +0000 (15:30 +0000)]
[project @ 2005-02-02 15:28:49 by simonmar]
doc fix

19 years ago[project @ 2005-02-02 15:23:59 by simonmar]
simonmar [Wed, 2 Feb 2005 15:23:59 +0000 (15:23 +0000)]
[project @ 2005-02-02 15:23:59 by simonmar]
doc fixes

19 years ago[project @ 2005-02-02 15:22:54 by simonmar]
simonmar [Wed, 2 Feb 2005 15:22:54 +0000 (15:22 +0000)]
[project @ 2005-02-02 15:22:54 by simonmar]
Doc fix

19 years ago[project @ 2005-02-02 15:22:19 by simonmar]
simonmar [Wed, 2 Feb 2005 15:22:19 +0000 (15:22 +0000)]
[project @ 2005-02-02 15:22:19 by simonmar]
Doc fixes

19 years ago[project @ 2005-02-02 15:21:02 by simonmar]
simonmar [Wed, 2 Feb 2005 15:21:02 +0000 (15:21 +0000)]
[project @ 2005-02-02 15:21:02 by simonmar]
doc fixes

19 years ago[project @ 2005-02-02 15:20:11 by simonmar]
simonmar [Wed, 2 Feb 2005 15:20:11 +0000 (15:20 +0000)]
[project @ 2005-02-02 15:20:11 by simonmar]
tiny doc fix

19 years ago[project @ 2005-02-02 14:54:18 by ross]
ross [Wed, 2 Feb 2005 14:54:19 +0000 (14:54 +0000)]
[project @ 2005-02-02 14:54:18 by ross]
an instance for FunPtr, and minor Hugs fixes:

* for Hugs only, move the instances for ST, STRef and STArray back.
  Having them in Data.Typeable, which is imported by Data.Dynamic,
  would mean that every invocation of runhugs or ffihugs would need
  the -98 option.

* Hugs also has MVar and the exception types.

and NHC has ForeignPtr too.

19 years ago[project @ 2005-02-02 13:47:24 by simonpj]
simonpj [Wed, 2 Feb 2005 13:47:24 +0000 (13:47 +0000)]
[project @ 2005-02-02 13:47:24 by simonpj]
Generalise gfindtype to

gfindtype :: (Data x, Typeable y) => x -> Maybe y

(It was (Data x, Data y) => ..., but there's no reason to
require Data y.)

Pointed out by Jim Apple

19 years ago[project @ 2005-02-02 13:45:05 by malcolm]
malcolm [Wed, 2 Feb 2005 13:45:05 +0000 (13:45 +0000)]
[project @ 2005-02-02 13:45:05 by malcolm]
nhc98 has Data.Typeable.

19 years ago[project @ 2005-02-02 13:26:13 by simonpj]
simonpj [Wed, 2 Feb 2005 13:26:20 +0000 (13:26 +0000)]
[project @ 2005-02-02 13:26:13 by simonpj]
I've moved Typeable instances so that they are
either in the module that defines the type
or in the Typeable module (which defines the class)

GHC dislikes "orphan" instances, and even for humans
this makes it easier to find.

I have continued to use the INSTANCE_TYPEABLE macros,
rather than GHC's deriving( Typeable ) mechanism, so
that it'll still work for Hugs and NHC.  Nevertheless,
I may well have missed some Hugs- or NHC-specific imports,
for which I apologise.  Malcolm, Ross you may want to try
a fresh build.

19 years ago[project @ 2005-02-02 10:59:16 by malcolm]
malcolm [Wed, 2 Feb 2005 10:59:16 +0000 (10:59 +0000)]
[project @ 2005-02-02 10:59:16 by malcolm]
Build all package sources using hmake.  The inaccurate and ever-changing
Makefile dependencies can now all be thrown away, hurrah!

19 years ago[project @ 2005-02-01 17:32:19 by ross]
ross [Tue, 1 Feb 2005 17:32:19 +0000 (17:32 +0000)]
[project @ 2005-02-01 17:32:19 by ross]
docs

19 years ago[project @ 2005-02-01 16:47:27 by malcolm]
malcolm [Tue, 1 Feb 2005 16:47:28 +0000 (16:47 +0000)]
[project @ 2005-02-01 16:47:27 by malcolm]
Make the cpp directives in NHC.SizedTypes directly usable by
nhc98 with internal cpphs, avoiding ANSI-only string-pasting.

19 years ago[project @ 2005-02-01 13:41:41 by simonmar]
simonmar [Tue, 1 Feb 2005 13:41:41 +0000 (13:41 +0000)]
[project @ 2005-02-01 13:41:41 by simonmar]
Move #include of HsBaseConfig.h up

19 years ago[project @ 2005-02-01 13:02:37 by simonmar]
simonmar [Tue, 1 Feb 2005 13:02:37 +0000 (13:02 +0000)]
[project @ 2005-02-01 13:02:37 by simonmar]
Make hDuplicateTo actually use dup2() rather than dup().  The
difference is noticeable if you want to eg. redirect stdout and then
use executeFile or spawn sub-processes.

19 years ago[project @ 2005-02-01 11:52:08 by malcolm]
malcolm [Tue, 1 Feb 2005 11:52:08 +0000 (11:52 +0000)]
[project @ 2005-02-01 11:52:08 by malcolm]
Record more dependencies.

19 years ago[project @ 2005-02-01 10:12:16 by krasimir]
krasimir [Tue, 1 Feb 2005 10:12:17 +0000 (10:12 +0000)]
[project @ 2005-02-01 10:12:16 by krasimir]
Fixes for Windows

19 years ago[project @ 2005-02-01 00:52:20 by ross]
ross [Tue, 1 Feb 2005 00:52:22 +0000 (00:52 +0000)]
[project @ 2005-02-01 00:52:20 by ross]
more regex test down to libraries/base