sof [Tue, 25 Aug 1998 11:56:10 +0000 (11:56 +0000)]
[project @ 1998-08-25 11:56:10 by sof]
dumpRealC: Don't drag around cost argument if we're not GranSim'ing (cf. new-rts fix)
sof [Mon, 24 Aug 1998 19:24:47 +0000 (19:24 +0000)]
[project @ 1998-08-24 19:24:47 by sof]
SUBDIRS: descend into 'misc' before 'posix'
sof [Mon, 24 Aug 1998 19:22:53 +0000 (19:22 +0000)]
[project @ 1998-08-24 19:22:47 by sof]
Moved PosixUtil marshaling funs into CString; adjusted imports; don't use lit-lits containing NULL when we've got Addr.nullAddr
sof [Mon, 24 Aug 1998 19:20:59 +0000 (19:20 +0000)]
[project @ 1998-08-24 19:20:59 by sof]
Import list updates
sof [Mon, 24 Aug 1998 19:20:24 +0000 (19:20 +0000)]
[project @ 1998-08-24 19:20:24 by sof]
Adjusted some imports; dropped PackedString dependency in favour of CString
sof [Mon, 24 Aug 1998 19:19:44 +0000 (19:19 +0000)]
[project @ 1998-08-24 19:19:44 by sof]
Moved Util.unvectorize to a more appropriate home (CString)
sof [Mon, 24 Aug 1998 19:16:32 +0000 (19:16 +0000)]
[project @ 1998-08-24 19:16:32 by sof]
Removed:
psToByteArrayST,
packCString#,
unpackCString#,
unpackCString2#,
unpackAppendCString#,
unpackFoldrCString#,
unpackCString,
unpackCStringIO,
unpackCStringLenIO
Added:
hGetPS
* This module contained a little bit of everything. Moved
functions for marshalling to/from C strings into a separate module.
* Reuse PrelPack code.
sof [Mon, 24 Aug 1998 19:13:18 +0000 (19:13 +0000)]
[project @ 1998-08-24 19:13:18 by sof]
New module containing misc functions for going to/from C strings/sequences
sof [Mon, 24 Aug 1998 19:12:06 +0000 (19:12 +0000)]
[project @ 1998-08-24 19:12:06 by sof]
New functions:
hFillBuf :: Handle -> Addr -> Int -> IO Int
hFillBufBA :: Handle -> ByteArray Int -> Int -> IO Int
reading a sequence of a bytes into a chunk of memory.
sof [Mon, 24 Aug 1998 11:16:10 +0000 (11:16 +0000)]
[project @ 1998-08-24 11:16:10 by sof]
[Semi-experimental]
ENTER_CC_PAP: tick the entry count of a PAP's CC when entering it.
sof [Mon, 24 Aug 1998 11:05:37 +0000 (11:05 +0000)]
[project @ 1998-08-24 11:05:37 by sof]
Since we're unable to deal with seq'ing over function values, comment out the Eval instance for (->)
sof [Mon, 24 Aug 1998 10:53:41 +0000 (10:53 +0000)]
[project @ 1998-08-24 10:53:41 by sof]
readChunk:
last commit may have fixed a bug in the handling of incomplete reads,
but at the cost of breaking the (common) case of complete
reads :-/. Should work better in both cases now.
sof [Mon, 24 Aug 1998 10:47:52 +0000 (10:47 +0000)]
[project @ 1998-08-24 10:47:52 by sof]
Added seqZh comment on why it shouldn't be used on partially applied values
sof [Mon, 24 Aug 1998 10:02:08 +0000 (10:02 +0000)]
[project @ 1998-08-24 10:02:08 by sof]
add_syslib: turn off -syslib loop checking
simonm [Fri, 21 Aug 1998 17:23:04 +0000 (17:23 +0000)]
[project @ 1998-08-21 17:23:03 by simonm]
Add test for various list functions.
sof [Fri, 21 Aug 1998 15:50:57 +0000 (15:50 +0000)]
[project @ 1998-08-21 15:50:57 by sof]
Tidied up -syslib handling, and in the process require the use of Perl5
sof [Fri, 21 Aug 1998 11:03:30 +0000 (11:03 +0000)]
[project @ 1998-08-21 11:03:30 by sof]
SRC_LD_OPTS: -syslib misc depend on -syslib exts, so add the latter too
sof [Thu, 20 Aug 1998 15:43:39 +0000 (15:43 +0000)]
[project @ 1998-08-20 15:43:39 by sof]
Make version.mk include path fptools absolute (sigh)
sof [Thu, 20 Aug 1998 15:42:01 +0000 (15:42 +0000)]
[project @ 1998-08-20 15:42:01 by sof]
Made Makefile evil hack, slightly less so
sof [Thu, 20 Aug 1998 15:39:49 +0000 (15:39 +0000)]
[project @ 1998-08-20 15:39:49 by sof]
Updated to track aclocal.m4 changes
sof [Wed, 19 Aug 1998 11:24:50 +0000 (11:24 +0000)]
[project @ 1998-08-19 11:24:50 by sof]
WithGhcHc: let configure script fill in default
sof [Wed, 19 Aug 1998 11:23:59 +0000 (11:23 +0000)]
[project @ 1998-08-19 11:23:59 by sof]
Tidied up a bit + added --with-ghc-hc option
sof [Wed, 19 Aug 1998 11:20:35 +0000 (11:20 +0000)]
[project @ 1998-08-19 11:20:35 by sof]
Fill in some holes for integer shift primops
sof [Wed, 19 Aug 1998 07:47:46 +0000 (07:47 +0000)]
[project @ 1998-08-19 07:47:46 by sof]
oops, one branch of an #ifdef had been de-activated by accident
sof [Tue, 18 Aug 1998 20:43:35 +0000 (20:43 +0000)]
[project @ 1998-08-18 20:43:35 by sof]
Disregard whatever AC_PROG_LEX comes up with for LEXLIB (e.g., -lfl or not), since all fptools/ flex scripts define their own yywrap() anyway
sof [Tue, 18 Aug 1998 20:40:42 +0000 (20:40 +0000)]
[project @ 1998-08-18 20:40:42 by sof]
Doc string for --enable-hc-boot was lacking; added --with-gcc cmd line option
sof [Tue, 18 Aug 1998 13:45:20 +0000 (13:45 +0000)]
[project @ 1998-08-18 13:45:20 by sof]
Some more 3.03 ForeignObj adjustments
sof [Tue, 18 Aug 1998 13:36:58 +0000 (13:36 +0000)]
[project @ 1998-08-18 13:36:58 by sof]
3.03 update: Foreign now exports ForeignObj abstractly..
sof [Tue, 18 Aug 1998 12:17:10 +0000 (12:17 +0000)]
[project @ 1998-08-18 12:17:10 by sof]
readChunk: fixed to cope with incomplete reads.
sof [Mon, 17 Aug 1998 18:26:41 +0000 (18:26 +0000)]
[project @ 1998-08-17 18:26:41 by sof]
Remove mention of -fhaskell-1.3 too.
sof [Mon, 17 Aug 1998 18:24:48 +0000 (18:24 +0000)]
[project @ 1998-08-17 18:24:48 by sof]
-syslib misc -> -syslib ghc
simonm [Mon, 17 Aug 1998 12:23:00 +0000 (12:23 +0000)]
[project @ 1998-08-17 12:23:00 by simonm]
Fix test to wait for all threads to run before ending.
simonm [Mon, 17 Aug 1998 12:07:41 +0000 (12:07 +0000)]
[project @ 1998-08-17 12:07:41 by simonm]
add HAVE_NETINET_TCP_H
simonm [Mon, 17 Aug 1998 12:04:16 +0000 (12:04 +0000)]
[project @ 1998-08-17 12:04:16 by simonm]
include netinet/tcp.h if available.
simonm [Mon, 17 Aug 1998 12:03:58 +0000 (12:03 +0000)]
[project @ 1998-08-17 12:03:58 by simonm]
add (disabled) SO_REUSEPORT socket option.
simonm [Mon, 17 Aug 1998 12:02:44 +0000 (12:02 +0000)]
[project @ 1998-08-17 12:02:44 by simonm]
check for netinet/tcp.h (apparently needed for some socket options on
FreeBSD).
sof [Mon, 17 Aug 1998 11:07:38 +0000 (11:07 +0000)]
[project @ 1998-08-17 11:07:38 by sof]
. vs -> confusion
simonm [Mon, 17 Aug 1998 10:59:01 +0000 (10:59 +0000)]
[project @ 1998-08-17 10:59:01 by simonm]
Update tests now that the death of the main thread ends the program.
simonm [Mon, 17 Aug 1998 10:58:12 +0000 (10:58 +0000)]
[project @ 1998-08-17 10:58:12 by simonm]
remove trace banners in output
sof [Sun, 16 Aug 1998 17:44:07 +0000 (17:44 +0000)]
[project @ 1998-08-16 17:44:07 by sof]
More of same
sof [Sun, 16 Aug 1998 17:43:28 +0000 (17:43 +0000)]
[project @ 1998-08-16 17:43:27 by sof]
Protect long long bits with HAVE_LONG_LONG
sof [Sun, 16 Aug 1998 16:45:37 +0000 (16:45 +0000)]
[project @ 1998-08-16 16:45:37 by sof]
O_BINARY test: protect fcntl.h include
sof [Sun, 16 Aug 1998 16:29:26 +0000 (16:29 +0000)]
[project @ 1998-08-16 16:29:26 by sof]
Oops, last commit left out this file
sof [Sun, 16 Aug 1998 16:25:26 +0000 (16:25 +0000)]
[project @ 1998-08-16 16:25:21 by sof]
Add feature test for O_BINARY
sof [Sat, 15 Aug 1998 18:05:40 +0000 (18:05 +0000)]
[project @ 1998-08-15 18:05:40 by sof]
Add entry for HAVE_ST_BLKSIZE
sof [Sat, 15 Aug 1998 18:02:17 +0000 (18:02 +0000)]
[project @ 1998-08-15 18:02:17 by sof]
Another place where shiftRA# was used.
sof [Sat, 15 Aug 1998 17:58:14 +0000 (17:58 +0000)]
[project @ 1998-08-15 17:56:59 by sof]
use shiftRL# instead of shiftRA#, since the latter primop is no more.
sof [Sat, 15 Aug 1998 17:51:25 +0000 (17:51 +0000)]
[project @ 1998-08-15 17:51:25 by sof]
reformatted
sof [Sat, 15 Aug 1998 16:45:07 +0000 (16:45 +0000)]
[project @ 1998-08-15 16:45:07 by sof]
#undef __GLASGOW_HASKELL__ before including "rtsdefs.h"
(see source code for reasons as to why we need to do this now).
sof [Sat, 15 Aug 1998 14:06:48 +0000 (14:06 +0000)]
[project @ 1998-08-15 14:06:43 by sof]
SMmark: multi-slurp protect SMmarkDefs.h; lift out SMmarkDefs include from the insides of an ifdef
sof [Sat, 15 Aug 1998 13:05:25 +0000 (13:05 +0000)]
[project @ 1998-08-15 13:05:25 by sof]
Rearrange (commutative) #ifdefs to ensure that _INFO_MARKING is
defined when we come to do 'make clean all' in
ghc/runtime, it completes without error.
sof [Fri, 14 Aug 1998 19:42:11 +0000 (19:42 +0000)]
[project @ 1998-08-14 19:42:11 by sof]
Word import missing
sof [Fri, 14 Aug 1998 17:52:20 +0000 (17:52 +0000)]
[project @ 1998-08-14 17:52:20 by sof]
Oops, left out filePtr when compiling with 3.02. Bad Idea
sof [Fri, 14 Aug 1998 17:40:00 +0000 (17:40 +0000)]
[project @ 1998-08-14 17:40:00 by sof]
Clean up PrelIOBase import lists some more
sof [Fri, 14 Aug 1998 16:44:55 +0000 (16:44 +0000)]
[project @ 1998-08-14 16:44:55 by sof]
Some more cpp'ery
sof [Fri, 14 Aug 1998 16:34:14 +0000 (16:34 +0000)]
[project @ 1998-08-14 16:34:14 by sof]
Remove flushBuf from PrelHandle import list; not used
simonm [Fri, 14 Aug 1998 15:24:10 +0000 (15:24 +0000)]
[project @ 1998-08-14 15:24:10 by simonm]
remove old test for GLIBC.
sof [Fri, 14 Aug 1998 13:22:57 +0000 (13:22 +0000)]
[project @ 1998-08-14 13:22:57 by sof]
Check if (struct stat) has st_blksize
sof [Fri, 14 Aug 1998 13:20:56 +0000 (13:20 +0000)]
[project @ 1998-08-14 13:20:56 by sof]
Include project-specific config.mk file when building binary-dists
sof [Fri, 14 Aug 1998 13:20:03 +0000 (13:20 +0000)]
[project @ 1998-08-14 13:20:03 by sof]
make cleaning -odirs: discard error msgs should rmdir fail
sof [Fri, 14 Aug 1998 13:19:04 +0000 (13:19 +0000)]
[project @ 1998-08-14 13:19:04 by sof]
Remove project specific version settings out of here (and into project .mk files)
sof [Fri, 14 Aug 1998 13:17:48 +0000 (13:17 +0000)]
[project @ 1998-08-14 13:17:48 by sof]
Unused (the real one lives in fptools/)
sof [Fri, 14 Aug 1998 13:16:00 +0000 (13:16 +0000)]
[project @ 1998-08-14 13:16:00 by sof]
Fixed GetOpt example
sof [Fri, 14 Aug 1998 13:15:26 +0000 (13:15 +0000)]
[project @ 1998-08-14 13:15:26 by sof]
ErrorIO_innards: Flush stdio + stderr
sof [Fri, 14 Aug 1998 13:13:58 +0000 (13:13 +0000)]
[project @ 1998-08-14 13:13:52 by sof]
Include and use contents of version.mk
sof [Fri, 14 Aug 1998 13:09:01 +0000 (13:09 +0000)]
[project @ 1998-08-14 13:09:00 by sof]
More error message updates
sof [Fri, 14 Aug 1998 13:08:18 +0000 (13:08 +0000)]
[project @ 1998-08-14 13:08:18 by sof]
trivial syserr fix
sof [Fri, 14 Aug 1998 13:07:49 +0000 (13:07 +0000)]
[project @ 1998-08-14 13:07:49 by sof]
Fd <--> Handle conversion: use new IO impl
sof [Fri, 14 Aug 1998 13:07:13 +0000 (13:07 +0000)]
[project @ 1998-08-14 13:06:56 by sof]
Better error messages
sof [Fri, 14 Aug 1998 13:06:28 +0000 (13:06 +0000)]
[project @ 1998-08-14 13:06:28 by sof]
socketToHandle changed to use new IO impl
sof [Fri, 14 Aug 1998 13:05:45 +0000 (13:05 +0000)]
[project @ 1998-08-14 13:05:45 by sof]
Doc fixes
sof [Fri, 14 Aug 1998 13:05:25 +0000 (13:05 +0000)]
[project @ 1998-08-14 13:05:25 by sof]
Better error messages
sof [Fri, 14 Aug 1998 13:05:06 +0000 (13:05 +0000)]
[project @ 1998-08-14 13:05:06 by sof]
mirror compiler source defn of hang
sof [Fri, 14 Aug 1998 13:04:36 +0000 (13:04 +0000)]
[project @ 1998-08-14 13:04:36 by sof]
Use new PackedString funs to ensure that external buffers are unmarshaled in timely fashion
sof [Fri, 14 Aug 1998 13:03:51 +0000 (13:03 +0000)]
[project @ 1998-08-14 13:03:51 by sof]
Removed old file I/O junk; bugfixes
sof [Fri, 14 Aug 1998 13:02:14 +0000 (13:02 +0000)]
[project @ 1998-08-14 13:02:14 by sof]
Updated
sof [Fri, 14 Aug 1998 13:02:08 +0000 (13:02 +0000)]
[project @ 1998-08-14 13:02:08 by sof]
Added ops to mirror Addr interface
simonm [Fri, 14 Aug 1998 13:02:01 +0000 (13:02 +0000)]
[project @ 1998-08-14 13:02:00 by simonm]
Add _ccall_GC_ test (callbacks and performGC).
sof [Fri, 14 Aug 1998 13:01:45 +0000 (13:01 +0000)]
[project @ 1998-08-14 13:01:44 by sof]
New functions: unsafeIOToST, hConnectTo
sof [Fri, 14 Aug 1998 13:00:58 +0000 (13:00 +0000)]
[project @ 1998-08-14 13:00:57 by sof]
Complete Int64 and Word64 support on 32-bit platforms
sof [Fri, 14 Aug 1998 13:00:18 +0000 (13:00 +0000)]
[project @ 1998-08-14 13:00:18 by sof]
write*OffAddr now implemented in terms of primops
sof [Fri, 14 Aug 1998 12:59:26 +0000 (12:59 +0000)]
[project @ 1998-08-14 12:59:24 by sof]
Generate better IOErrors
sof [Fri, 14 Aug 1998 12:58:32 +0000 (12:58 +0000)]
[project @ 1998-08-14 12:58:30 by sof]
Completely rewritten IO implementation
sof [Fri, 14 Aug 1998 12:57:49 +0000 (12:57 +0000)]
[project @ 1998-08-14 12:57:49 by sof]
Specialise succ and pred
sof [Fri, 14 Aug 1998 12:57:27 +0000 (12:57 +0000)]
[project @ 1998-08-14 12:57:27 by sof]
Remove ForeignObj unpacking functions; doesn't belong here
sof [Fri, 14 Aug 1998 12:56:27 +0000 (12:56 +0000)]
[project @ 1998-08-14 12:56:27 by sof]
Define Int64 and Word64 types
sof [Fri, 14 Aug 1998 12:54:09 +0000 (12:54 +0000)]
[project @ 1998-08-14 12:54:08 by sof]
Avoid using stdio for dumping error strings
sof [Fri, 14 Aug 1998 12:53:10 +0000 (12:53 +0000)]
[project @ 1998-08-14 12:53:10 by sof]
Import PrelErr using {-# SOURCE #-}
sof [Fri, 14 Aug 1998 12:52:24 +0000 (12:52 +0000)]
[project @ 1998-08-14 12:52:24 by sof]
Hammered some more
sof [Fri, 14 Aug 1998 12:51:47 +0000 (12:51 +0000)]
[project @ 1998-08-14 12:51:47 by sof]
StateAnd{Int,Word}64# types
sof [Fri, 14 Aug 1998 12:51:05 +0000 (12:51 +0000)]
[project @ 1998-08-14 12:51:05 by sof]
A few more primops (Word64 and Int64 support)
sof [Fri, 14 Aug 1998 12:49:51 +0000 (12:49 +0000)]
[project @ 1998-08-14 12:49:51 by sof]
New Handle repr;better IOErrors;moved trace+performGC to IOExts;removed fputs(yes!)
sof [Fri, 14 Aug 1998 12:45:20 +0000 (12:45 +0000)]
[project @ 1998-08-14 12:45:20 by sof]
Explicitly depend on Prelude to force recomps
sof [Fri, 14 Aug 1998 12:44:39 +0000 (12:44 +0000)]
[project @ 1998-08-14 12:44:39 by sof]
toCalendarTime bugfix
sof [Fri, 14 Aug 1998 12:42:23 +0000 (12:42 +0000)]
[project @ 1998-08-14 12:42:01 by sof]
Beefed up IO stub functions to not have to rely on stdio any longer
sof [Fri, 14 Aug 1998 12:39:58 +0000 (12:39 +0000)]
[project @ 1998-08-14 12:39:55 by sof]
Misc changes to cope with compiling code containing foreign decls that also causes C stubs to be gen'ed
sof [Fri, 14 Aug 1998 12:29:58 +0000 (12:29 +0000)]
[project @ 1998-08-14 12:29:58 by sof]
x86: Relativise register table offsets for Hp, R1, R2 and SpA
sof [Fri, 14 Aug 1998 12:27:46 +0000 (12:27 +0000)]
[project @ 1998-08-14 12:27:44 by sof]
Project specific settings now reside in config.mk; version info in version.mk
sof [Fri, 14 Aug 1998 12:13:06 +0000 (12:13 +0000)]
[project @ 1998-08-14 12:13:06 by sof]
Updates to reflect last batch of changes
sof [Fri, 14 Aug 1998 12:11:11 +0000 (12:11 +0000)]
[project @ 1998-08-14 12:11:11 by sof]
Optionally save away foreign decl .c stubs; added hooks to allow compilation results to be UDPed back to HQ