ghc-base.git
20 years ago[project @ 2004-02-16 11:08:58 by ross]
ross [Mon, 16 Feb 2004 11:08:58 +0000 (11:08 +0000)]
[project @ 2004-02-16 11:08:58 by ross]
adjust imports for portability

20 years ago[project @ 2004-02-15 13:24:42 by ralf]
ralf [Sun, 15 Feb 2004 13:24:43 +0000 (13:24 +0000)]
[project @ 2004-02-15 13:24:42 by ralf]
Another commit of boilerplate refactoring
related to twin traversal and type introspection.
Clean-up. After some reflection the list
processing module was not regarded suitable
for the library (see List.hs removed).

20 years ago[project @ 2004-02-15 13:04:47 by krasimir]
krasimir [Sun, 15 Feb 2004 13:04:47 +0000 (13:04 +0000)]
[project @ 2004-02-15 13:04:47 by krasimir]
Added support for tracers

20 years ago[project @ 2004-02-14 18:18:46 by ralf]
ralf [Sat, 14 Feb 2004 18:18:48 +0000 (18:18 +0000)]
[project @ 2004-02-14 18:18:46 by ralf]
Refactored the approach to Twin Traversal.
Added some illustrative treatment of polymorphic lists.

20 years ago[project @ 2004-02-13 17:46:32 by ross]
ross [Fri, 13 Feb 2004 17:46:32 +0000 (17:46 +0000)]
[project @ 2004-02-13 17:46:32 by ross]
make import Foreign.C.String GHC-only to unbreak Hugs build

20 years ago[project @ 2004-02-13 15:17:38 by ross]
ross [Fri, 13 Feb 2004 15:17:40 +0000 (15:17 +0000)]
[project @ 2004-02-13 15:17:38 by ross]
array doc updates

20 years ago[project @ 2004-02-13 12:13:00 by simonmar]
simonmar [Fri, 13 Feb 2004 12:13:01 +0000 (12:13 +0000)]
[project @ 2004-02-13 12:13:00 by simonmar]
uncatched -> uncaught

20 years ago[project @ 2004-02-12 22:35:25 by krasimir]
krasimir [Thu, 12 Feb 2004 22:35:25 +0000 (22:35 +0000)]
[project @ 2004-02-12 22:35:25 by krasimir]
The UncatchedExceptionHandler is defined only for GHC

20 years ago[project @ 2004-02-12 21:23:48 by krasimir]
krasimir [Thu, 12 Feb 2004 21:23:49 +0000 (21:23 +0000)]
[project @ 2004-02-12 21:23:48 by krasimir]
Added interface to set/get handler for uncatched exceptions.
The handler is invoked from the GHC.TopHandler.topHandler or
Control.Concurrent.childHandler when an exception is catched.

20 years ago[project @ 2004-02-12 14:55:55 by simonpj]
simonpj [Thu, 12 Feb 2004 14:55:55 +0000 (14:55 +0000)]
[project @ 2004-02-12 14:55:55 by simonpj]
Comments

20 years ago[project @ 2004-02-12 14:55:31 by simonpj]
simonpj [Thu, 12 Feb 2004 14:55:31 +0000 (14:55 +0000)]
[project @ 2004-02-12 14:55:31 by simonpj]
Documentation for floatToDigits

20 years ago[project @ 2004-02-12 14:55:05 by simonpj]
simonpj [Thu, 12 Feb 2004 14:55:05 +0000 (14:55 +0000)]
[project @ 2004-02-12 14:55:05 by simonpj]
Explicit for-alls for Monad (so desugaring knows which order to give type args)

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

20 years ago[project @ 2004-02-11 14:01:06 by simonmar]
simonmar [Wed, 11 Feb 2004 14:01:06 +0000 (14:01 +0000)]
[project @ 2004-02-11 14:01:06 by simonmar]
Put double quotes around the -#include flag, so that command-lines can
be cut-n-pasted.

20 years ago[project @ 2004-02-05 18:55:47 by ross]
ross [Thu, 5 Feb 2004 18:55:48 +0000 (18:55 +0000)]
[project @ 2004-02-05 18:55:47 by ross]
moved the monad transformer libraries into a separate mtl package.

20 years ago[project @ 2004-02-05 11:58:21 by malcolm]
malcolm [Thu, 5 Feb 2004 11:58:21 +0000 (11:58 +0000)]
[project @ 2004-02-05 11:58:21 by malcolm]
Fix definition of 'partition' to match the (non-)strictness mandated by
the Haskell'98 Libraries Report version.

20 years ago[project @ 2004-02-05 11:45:59 by ross]
ross [Thu, 5 Feb 2004 11:45:59 +0000 (11:45 +0000)]
[project @ 2004-02-05 11:45:59 by ross]
Hugs only: use the configure-set variable INLINE_ONLY instead of
`extern inline' (which works for gcc but not C99 compilers).

20 years ago[project @ 2004-02-04 17:13:53 by ross]
ross [Wed, 4 Feb 2004 17:13:53 +0000 (17:13 +0000)]
[project @ 2004-02-04 17:13:53 by ross]
plug a warning

20 years ago[project @ 2004-02-04 17:00:00 by malcolm]
malcolm [Wed, 4 Feb 2004 17:00:00 +0000 (17:00 +0000)]
[project @ 2004-02-04 17:00:00 by malcolm]
Excluding 'unfoldTreeM' and 'unfoldForestM' is overkill for nhc98.
A simpler workaround for the type inference bug is just to omit one
type signature from the mutually recursive pair.

20 years ago[project @ 2004-02-04 10:52:28 by malcolm]
malcolm [Wed, 4 Feb 2004 10:52:28 +0000 (10:52 +0000)]
[project @ 2004-02-04 10:52:28 by malcolm]
Plumb in Data.Queue for nhc98.

20 years ago[project @ 2004-02-04 10:51:18 by malcolm]
malcolm [Wed, 4 Feb 2004 10:51:18 +0000 (10:51 +0000)]
[project @ 2004-02-04 10:51:18 by malcolm]
Exclude functions 'unfoldTreeM' and 'unfoldForestM' in nhc98.
For some unknown reason they result in a type inference error:
"No default for Prelude.Monad"

20 years ago[project @ 2004-02-02 11:54:32 by ross]
ross [Mon, 2 Feb 2004 11:54:32 +0000 (11:54 +0000)]
[project @ 2004-02-02 11:54:32 by ross]
add some unfolds (pure, monadic depth-first and monadic breadth-first)

20 years ago[project @ 2004-01-28 10:04:25 by simonpj]
simonpj [Wed, 28 Jan 2004 10:04:25 +0000 (10:04 +0000)]
[project @ 2004-01-28 10:04:25 by simonpj]
---------------------------------------
    Fix the WinME/98/95 double-backslash bug
  ---------------------------------------

Merge to stable branch, at least
once we are sure it's right

Backslashes should not be escaped in command-line arguments for rawSystem,
on Win32.  This only actually causes failures on WinME/98/95, and we can't
test that since we don't have it.  But this fix seems right regardless.

There are extensive new comments in libraries/base/System/Cmd.hs which
describe the issues.

20 years ago[project @ 2004-01-27 09:52:37 by ross]
ross [Tue, 27 Jan 2004 09:52:37 +0000 (09:52 +0000)]
[project @ 2004-01-27 09:52:37 by ross]
generalize the type of minusFM

20 years ago[project @ 2004-01-26 11:24:54 by simonmar]
simonmar [Mon, 26 Jan 2004 11:24:54 +0000 (11:24 +0000)]
[project @ 2004-01-26 11:24:54 by simonmar]
- fix bug(s) in emptySampleVar
- add isEmptySampleVar, with similar caveats on its use as isEmptyMVar

20 years ago[project @ 2004-01-23 13:35:16 by ross]
ross [Fri, 23 Jan 2004 13:35:16 +0000 (13:35 +0000)]
[project @ 2004-01-23 13:35:16 by ross]
add a Functor instance for FiniteMap

20 years ago[project @ 2004-01-21 17:28:47 by simonmar]
simonmar [Wed, 21 Jan 2004 17:28:47 +0000 (17:28 +0000)]
[project @ 2004-01-21 17:28:47 by simonmar]
__hscore_set_errno() should return void, not int.

20 years ago[project @ 2004-01-20 13:57:25 by ross]
ross [Tue, 20 Jan 2004 13:57:25 +0000 (13:57 +0000)]
[project @ 2004-01-20 13:57:25 by ross]
use fields in Node

20 years ago[project @ 2004-01-14 14:58:57 by ralf]
ralf [Wed, 14 Jan 2004 14:58:57 +0000 (14:58 +0000)]
[project @ 2004-01-14 14:58:57 by ralf]
Added gdepth to determine depth of a term.

20 years ago[project @ 2004-01-14 14:19:41 by ross]
ross [Wed, 14 Jan 2004 14:19:43 +0000 (14:19 +0000)]
[project @ 2004-01-14 14:19:41 by ross]
(Hugs only) add hIsTerminalDevice, hGetEcho and hSetEcho.

20 years ago[project @ 2004-01-14 11:16:10 by malcolm]
malcolm [Wed, 14 Jan 2004 11:16:10 +0000 (11:16 +0000)]
[project @ 2004-01-14 11:16:10 by malcolm]
Unbreak for nhc98 after recent errno changes.

20 years ago[project @ 2004-01-10 12:53:42 by panne]
panne [Sat, 10 Jan 2004 12:53:43 +0000 (12:53 +0000)]
[project @ 2004-01-10 12:53:42 by panne]
Haddock fixes

20 years ago[project @ 2004-01-08 15:27:29 by simonmar]
simonmar [Thu, 8 Jan 2004 15:27:29 +0000 (15:27 +0000)]
[project @ 2004-01-08 15:27:29 by simonmar]
update threadDelay docs: delay is rounded up.

20 years ago[project @ 2004-01-07 12:43:50 by simonmar]
simonmar [Wed, 7 Jan 2004 12:43:50 +0000 (12:43 +0000)]
[project @ 2004-01-07 12:43:50 by simonmar]
Mention that threadDelay rounds its argument down to a multiple of 0.02s.

20 years ago[project @ 2004-01-06 14:01:52 by ross]
ross [Tue, 6 Jan 2004 14:01:52 +0000 (14:01 +0000)]
[project @ 2004-01-06 14:01:52 by ross]
fix for Hugs

20 years ago[project @ 2004-01-06 12:40:00 by simonmar]
simonmar [Tue, 6 Jan 2004 12:40:01 +0000 (12:40 +0000)]
[project @ 2004-01-06 12:40:00 by simonmar]
Fix, and simplify, the getting/setting of errno in Foreign.C.Error.

It was previously wrong: although we called a C function to get the
location of errno (correct), we cached the result in a CAF which was
wrong because the location is OS thread dependent.  We must call the C
function every time we need the value of errno.

I also simplified things by making the getter/setter functions inlined
in the same way as the other C fragments in this library, and putting
them in HsBase.h.

MERGE TO STABLE

20 years ago[project @ 2004-01-06 10:31:05 by ross]
ross [Tue, 6 Jan 2004 10:31:05 +0000 (10:31 +0000)]
[project @ 2004-01-06 10:31:05 by ross]
new Queue type, using Chris Okasaki's cute 3-list implementation.

20 years ago[project @ 2004-01-05 17:44:30 by ross]
ross [Mon, 5 Jan 2004 17:44:30 +0000 (17:44 +0000)]
[project @ 2004-01-05 17:44:30 by ross]
Make runST(U)Array work with Hugs.  This includes explicitly using
unsafeFreezeSTArray rather than unsafeFreeze, to avoid relying on rules.

20 years ago[project @ 2004-01-05 16:47:09 by ross]
ross [Mon, 5 Jan 2004 16:47:09 +0000 (16:47 +0000)]
[project @ 2004-01-05 16:47:09 by ross]
Change the drawing of trees so that long labels work better.
The new drawings are narrower but a little longer than before.

20 years ago[project @ 2004-01-05 16:03:34 by simonmar]
simonmar [Mon, 5 Jan 2004 16:03:34 +0000 (16:03 +0000)]
[project @ 2004-01-05 16:03:34 by simonmar]
Add runSTArray and runSTUArray, as suggested by John Meacham.
runSTUArray showed up an interesting deficiency in the type system
(see comments for details).

20 years ago[project @ 2004-01-05 10:07:52 by ross]
ross [Mon, 5 Jan 2004 10:07:52 +0000 (10:07 +0000)]
[project @ 2004-01-05 10:07:52 by ross]
doc tidy-ups

20 years ago[project @ 2004-01-05 10:07:25 by ross]
ross [Mon, 5 Jan 2004 10:07:25 +0000 (10:07 +0000)]
[project @ 2004-01-05 10:07:25 by ross]
doc tweak

20 years ago[project @ 2004-01-02 19:03:14 by panne]
panne [Fri, 2 Jan 2004 19:03:14 +0000 (19:03 +0000)]
[project @ 2004-01-02 19:03:14 by panne]
Annual copyright update

20 years ago[project @ 2003-12-29 17:16:42 by panne]
panne [Mon, 29 Dec 2003 17:16:42 +0000 (17:16 +0000)]
[project @ 2003-12-29 17:16:42 by panne]
Updated my email address

20 years ago[project @ 2003-12-23 13:58:17 by simonmar]
simonmar [Tue, 23 Dec 2003 13:58:18 +0000 (13:58 +0000)]
[project @ 2003-12-23 13:58:17 by simonmar]
- Fix up mingw build after changes to hGetBuf etc.
  I don't think that hGetBufNonBlocking works correctly on Windows,
  because there doesn't seem to be a non-blocking read primitive.  I
  haven't tested it, however.

- Clean up Unix versions of the low-level read/write functions in
  Handle.hs.  Now that these aren't used on Windows, they can be
  made simpler.

20 years ago[project @ 2003-12-23 12:35:34 by simonmar]
simonmar [Tue, 23 Dec 2003 12:35:34 +0000 (12:35 +0000)]
[project @ 2003-12-23 12:35:34 by simonmar]
Fix yet another bug in hGetBuf/hGetBufNonBlocking

20 years ago[project @ 2003-12-22 12:41:52 by simonmar]
simonmar [Mon, 22 Dec 2003 12:41:52 +0000 (12:41 +0000)]
[project @ 2003-12-22 12:41:52 by simonmar]
add fillReadBufferWithoutBlocking (required for fixed
hGetBufNonBlocking implementation in IO.hs rev. 1.20)

20 years ago[project @ 2003-12-22 12:23:35 by simonmar]
simonmar [Mon, 22 Dec 2003 12:23:35 +0000 (12:23 +0000)]
[project @ 2003-12-22 12:23:35 by simonmar]
- Fix hGetBuf & hGetBufNonBlocking.  There were various bugs in these
  two functions, so I did a complete rewrite (again).  They are quite
  hard to get right it seems, so I've put together a test case
  (shortly to be added to the test suite).

- Change to the semantics of hWaitForInput: when given a negative
  time argument, this function will wait indefinitely for input to
  arrive.  It will wait in a thread-friendly way, unlike when the
  time argument is positive.  The docs now admit that hWaitForInput
  is buggy when given a positive time value.

  hWaitForInput h (-1) is now the approved way to wait for input
  before calling hGetBufNonBlocking.

MERGE TO STABLE (hGetBuf is broken in 6.2).

20 years ago[project @ 2003-12-22 10:56:42 by simonmar]
simonmar [Mon, 22 Dec 2003 10:56:42 +0000 (10:56 +0000)]
[project @ 2003-12-22 10:56:42 by simonmar]
performGC should really do a major GC - this was broken at some point.

20 years ago[project @ 2003-12-17 17:15:12 by sof]
sof [Wed, 17 Dec 2003 17:15:12 +0000 (17:15 +0000)]
[project @ 2003-12-17 17:15:12 by sof]
merge rev. 1.13.2.1

20 years ago[project @ 2003-12-17 17:13:47 by sof]
sof [Wed, 17 Dec 2003 17:13:47 +0000 (17:13 +0000)]
[project @ 2003-12-17 17:13:47 by sof]
merge rev 1.48.2.4

20 years ago[project @ 2003-12-16 16:54:42 by simonmar]
simonmar [Tue, 16 Dec 2003 16:54:42 +0000 (16:54 +0000)]
[project @ 2003-12-16 16:54:42 by simonmar]
Add Show instance for Set

20 years ago[project @ 2003-12-16 16:54:12 by simonmar]
simonmar [Tue, 16 Dec 2003 16:54:12 +0000 (16:54 +0000)]
[project @ 2003-12-16 16:54:12 by simonmar]
Add Show instance for FiniteMap

20 years ago[project @ 2003-12-15 17:59:05 by panne]
panne [Mon, 15 Dec 2003 17:59:05 +0000 (17:59 +0000)]
[project @ 2003-12-15 17:59:05 by panne]
Fixed #ifdefs for Cygwin

20 years ago[project @ 2003-12-12 18:29:26 by sof]
sof [Fri, 12 Dec 2003 18:29:26 +0000 (18:29 +0000)]
[project @ 2003-12-12 18:29:26 by sof]
showIntAtBase:
  - implementation uses quotRem [where the remainder isn't always
    non-negative -- ditto for divMod, so there's no trivial fix],
    negative bases aren't supported; catch this.
  - separate argument validity checking from actual digitisation.

20 years ago[project @ 2003-12-06 17:48:49 by ralf]
ralf [Sat, 6 Dec 2003 17:48:49 +0000 (17:48 +0000)]
[project @ 2003-12-06 17:48:49 by ralf]
Added Data instances for triples and quadruples.

20 years ago[project @ 2003-12-04 18:25:51 by panne]
panne [Thu, 4 Dec 2003 18:25:51 +0000 (18:25 +0000)]
[project @ 2003-12-04 18:25:51 by panne]
Synched #ifdefs, but only 90% sure if I got it right...

20 years ago[project @ 2003-11-28 11:08:54 by simonmar]
simonmar [Fri, 28 Nov 2003 11:08:54 +0000 (11:08 +0000)]
[project @ 2003-11-28 11:08:54 by simonmar]
Doc wibble

20 years ago[project @ 2003-11-26 10:00:09 by simonmar]
simonmar [Wed, 26 Nov 2003 10:00:09 +0000 (10:00 +0000)]
[project @ 2003-11-26 10:00:09 by simonmar]
oops, revert accidental commit

20 years ago[project @ 2003-11-26 09:55:22 by simonmar]
simonmar [Wed, 26 Nov 2003 09:55:26 +0000 (09:55 +0000)]
[project @ 2003-11-26 09:55:22 by simonmar]
Declare some libraries to be "stable".

20 years ago[project @ 2003-11-23 22:19:35 by ralf]
ralf [Sun, 23 Nov 2003 22:19:35 +0000 (22:19 +0000)]
[project @ 2003-11-23 22:19:35 by ralf]
Added the missing Data instance for Either.

20 years ago[project @ 2003-11-23 12:25:02 by ralf]
ralf [Sun, 23 Nov 2003 12:25:03 +0000 (12:25 +0000)]
[project @ 2003-11-23 12:25:02 by ralf]
Refactored some alias for generic builders and readers.
Worked out some interested stuff for reification of type structures.

20 years ago[project @ 2003-11-23 12:23:49 by ralf]
ralf [Sun, 23 Nov 2003 12:23:49 +0000 (12:23 +0000)]
[project @ 2003-11-23 12:23:49 by ralf]
Added some trivial observers for type representations.

20 years ago[project @ 2003-11-21 16:24:44 by sof]
sof [Fri, 21 Nov 2003 16:24:44 +0000 (16:24 +0000)]
[project @ 2003-11-21 16:24:44 by sof]
code tidyup

20 years ago[project @ 2003-11-15 22:31:16 by panne]
panne [Sat, 15 Nov 2003 22:31:16 +0000 (22:31 +0000)]
[project @ 2003-11-15 22:31:16 by panne]
Decouple packages a bit more again: The prologue of the combined index is now
generated via shell magic from the package prologues. As a nice side effect,
some autoconf magic is gone, so configure.ac is effectively empty now (but not
for long... :-)

20 years ago[project @ 2003-11-13 19:23:12 by panne]
panne [Thu, 13 Nov 2003 19:23:12 +0000 (19:23 +0000)]
[project @ 2003-11-13 19:23:12 by panne]
Markup fix

20 years ago[project @ 2003-11-13 14:43:58 by ross]
ross [Thu, 13 Nov 2003 14:43:58 +0000 (14:43 +0000)]
[project @ 2003-11-13 14:43:58 by ross]
Hugs-only tweak

20 years ago[project @ 2003-11-11 11:50:52 by simonmar]
simonmar [Tue, 11 Nov 2003 11:50:53 +0000 (11:50 +0000)]
[project @ 2003-11-11 11:50:52 by simonmar]
Convert to use Haddock 0.6's combined contents/index functionality for
the hierarchical library docs.

HEADS UP: you need Haddock 0.6 in order to run 'make html' in
fptools/libraries now.

20 years ago[project @ 2003-11-10 15:55:13 by sof]
sof [Mon, 10 Nov 2003 15:55:13 +0000 (15:55 +0000)]
[project @ 2003-11-10 15:55:13 by sof]
ALL_DIRS: added Control/Parallel

20 years ago[project @ 2003-11-10 15:54:55 by sof]
sof [Mon, 10 Nov 2003 15:54:55 +0000 (15:54 +0000)]
[project @ 2003-11-10 15:54:55 by sof]
brought into the hier-lib world; stripped away outdated code & comments

20 years ago[project @ 2003-11-10 15:32:43 by simonmar]
simonmar [Mon, 10 Nov 2003 15:32:43 +0000 (15:32 +0000)]
[project @ 2003-11-10 15:32:43 by simonmar]
Change the documentation title from "Haskell Core Libraries" to "Haskell Hierarchical Libraries".

20 years ago[project @ 2003-11-06 17:34:00 by simonmar]
simonmar [Thu, 6 Nov 2003 17:34:00 +0000 (17:34 +0000)]
[project @ 2003-11-06 17:34:00 by simonmar]
Doc wibbles

20 years ago[project @ 2003-11-06 12:50:22 by ross]
ross [Thu, 6 Nov 2003 12:50:24 +0000 (12:50 +0000)]
[project @ 2003-11-06 12:50:22 by ross]
import Prelude if haddocking

20 years ago[project @ 2003-11-05 15:05:12 by ross]
ross [Wed, 5 Nov 2003 15:05:12 +0000 (15:05 +0000)]
[project @ 2003-11-05 15:05:12 by ross]
doc updates for mallocForeignPtr and friends

20 years ago[project @ 2003-11-05 10:43:10 by simonmar]
simonmar [Wed, 5 Nov 2003 10:43:10 +0000 (10:43 +0000)]
[project @ 2003-11-05 10:43:10 by simonmar]
Better documentation for unsafeThaw, unsafeFreeze.

20 years ago[project @ 2003-11-05 09:58:01 by simonmar]
simonmar [Wed, 5 Nov 2003 09:58:01 +0000 (09:58 +0000)]
[project @ 2003-11-05 09:58:01 by simonmar]
Fix a memory leak in __hscore_readdir() which meant that one struct
dirent was leaked at the end of each directory read.

Bug-reported-by: David Roundy <droundy@abridgegame.org>
What-a-great-system: Valgrind

20 years ago[project @ 2003-11-04 21:59:23 by ross]
ross [Tue, 4 Nov 2003 21:59:23 +0000 (21:59 +0000)]
[project @ 2003-11-04 21:59:23 by ross]
Hugs only: add finalizers with environments, as per the latest FFI draft.

20 years ago[project @ 2003-11-02 17:52:09 by ralf]
ralf [Sun, 2 Nov 2003 17:52:09 +0000 (17:52 +0000)]
[project @ 2003-11-02 17:52:09 by ralf]
Minor extension to enable rebuild of Strafunski.

20 years ago[project @ 2003-11-02 16:30:16 by panne]
panne [Sun, 2 Nov 2003 16:30:16 +0000 (16:30 +0000)]
[project @ 2003-11-02 16:30:16 by panne]
* Added workaround for broken sigemptyset
* Use #if, not #ifdef for feature tests
* Nuked CVS keyword

20 years ago[project @ 2003-11-02 00:06:23 by panne]
panne [Sun, 2 Nov 2003 00:06:23 +0000 (00:06 +0000)]
[project @ 2003-11-02 00:06:23 by panne]
Added an extremely ugly workaround for the broken sigfillset macro on
OpenBSD, which misses a cast. Is there a better way?

Probably merge to STABLE.

20 years ago[project @ 2003-10-30 18:51:26 by sof]
sof [Thu, 30 Oct 2003 18:51:26 +0000 (18:51 +0000)]
[project @ 2003-10-30 18:51:26 by sof]
drop uses of __MINGW32__, no longer needed

20 years ago[project @ 2003-10-27 12:09:44 by stolz]
stolz [Mon, 27 Oct 2003 12:09:44 +0000 (12:09 +0000)]
[project @ 2003-10-27 12:09:44 by stolz]
Avoid setting O_NONBLOCK when already set.

20 years ago[project @ 2003-10-27 09:56:11 by ross]
ross [Mon, 27 Oct 2003 09:56:11 +0000 (09:56 +0000)]
[project @ 2003-10-27 09:56:11 by ross]
unswap UNBLOCK/SETMASK (merge to STABLE)

20 years ago[project @ 2003-10-21 14:32:43 by sof]
sof [Tue, 21 Oct 2003 14:32:44 +0000 (14:32 +0000)]
[project @ 2003-10-21 14:32:43 by sof]
appease the GHC bigwigs

20 years ago[project @ 2003-10-21 14:00:20 by simonmar]
simonmar [Tue, 21 Oct 2003 14:00:20 +0000 (14:00 +0000)]
[project @ 2003-10-21 14:00:20 by simonmar]
oops, revert parts of previous commit that weren't supposed to be included.

20 years ago[project @ 2003-10-21 13:57:39 by simonmar]
simonmar [Tue, 21 Oct 2003 13:57:39 +0000 (13:57 +0000)]
[project @ 2003-10-21 13:57:39 by simonmar]
Fix bug in hGetBufNonBlocking that meant it would sometimes block.

20 years ago[project @ 2003-10-21 13:31:44 by simonmar]
simonmar [Tue, 21 Oct 2003 13:31:44 +0000 (13:31 +0000)]
[project @ 2003-10-21 13:31:44 by simonmar]
- Add _LE duals of the _GE functions
- Add minFM and maxFM

From: George Russell <ger@tzi.de>

20 years ago[project @ 2003-10-21 13:27:13 by simonmar]
simonmar [Tue, 21 Oct 2003 13:27:13 +0000 (13:27 +0000)]
[project @ 2003-10-21 13:27:13 by simonmar]
Make peekArray0 run in constant stack-space by testing the length of
the array first, then calling peekArray (which works backwards from
the end so it can be tail-recursive).

20 years ago[project @ 2003-10-21 13:24:31 by simonmar]
simonmar [Tue, 21 Oct 2003 13:24:31 +0000 (13:24 +0000)]
[project @ 2003-10-21 13:24:31 by simonmar]
Make the GHC implementation of peekCString run in constant stack-space
by checking the length of the array first and then working backwards
from the end.  Interestingly, this version is faster than the original.

20 years ago[project @ 2003-10-20 20:00:25 by panne]
panne [Mon, 20 Oct 2003 20:00:25 +0000 (20:00 +0000)]
[project @ 2003-10-20 20:00:25 by panne]
Again: Fixed previous commit. Our QA department must really be on an
extended vacation...   :-]

20 years ago[project @ 2003-10-20 15:56:52 by simonmar]
simonmar [Mon, 20 Oct 2003 15:56:52 +0000 (15:56 +0000)]
[project @ 2003-10-20 15:56:52 by simonmar]
Convert Unicode.hsc to a plain .hs file to fix bootstrapping problems.

20 years ago[project @ 2003-10-20 13:16:58 by simonmar]
simonmar [Mon, 20 Oct 2003 13:17:24 +0000 (13:17 +0000)]
[project @ 2003-10-20 13:16:58 by simonmar]
Comment use of $(HavePosixRegex)

20 years ago[project @ 2003-10-20 12:31:00 by ross]
ross [Mon, 20 Oct 2003 12:31:00 +0000 (12:31 +0000)]
[project @ 2003-10-20 12:31:00 by ross]
add System.Posix.Signals to Hugs

20 years ago[project @ 2003-10-17 16:48:43 by ross]
ross [Fri, 17 Oct 2003 16:48:43 +0000 (16:48 +0000)]
[project @ 2003-10-17 16:48:43 by ross]
Hugs only: add most of the rest of System.Posix

(I wonder why SIG_UNBLOCK and SIG_SETMASK are switched in HsBase.h)

20 years ago[project @ 2003-10-16 16:26:43 by ross]
ross [Thu, 16 Oct 2003 16:26:43 +0000 (16:26 +0000)]
[project @ 2003-10-16 16:26:43 by ross]
fix a couple of id references in haddock docs

20 years ago[project @ 2003-10-16 00:18:34 by ross]
ross [Thu, 16 Oct 2003 00:18:34 +0000 (00:18 +0000)]
[project @ 2003-10-16 00:18:34 by ross]
add withArgs and withProgName to Hugs.

No change for GHC, but does change the docs, so please merge to STABLE.

20 years ago[project @ 2003-10-13 05:23:53 by sof]
sof [Mon, 13 Oct 2003 05:23:53 +0000 (05:23 +0000)]
[project @ 2003-10-13 05:23:53 by sof]
mingw tweaks + add cbits/consUtils.c to CBITS

20 years ago[project @ 2003-10-13 05:22:59 by sof]
sof [Mon, 13 Oct 2003 05:22:59 +0000 (05:22 +0000)]
[project @ 2003-10-13 05:22:59 by sof]
support CFoo iff HTYPE_FOO_T is defined

20 years ago[project @ 2003-10-13 05:21:37 by sof]
sof [Mon, 13 Oct 2003 05:21:54 +0000 (05:21 +0000)]
[project @ 2003-10-13 05:21:37 by sof]
more mind-numbing CPP tweaking

20 years ago[project @ 2003-10-13 05:20:37 by sof]
sof [Mon, 13 Oct 2003 05:20:37 +0000 (05:20 +0000)]
[project @ 2003-10-13 05:20:37 by sof]
extra_libraries: win32 CPP tweak