| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Moved Util.unvectorize to a more appropriate home (CString)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
New module containing misc functions for going to/from C strings/sequences
|
|
|
|
| |
include netinet/tcp.h if available.
|
|
|
|
| |
add (disabled) SO_REUSEPORT socket option.
|
|
|
|
| |
socketToHandle changed to use new IO impl
|
|
|
|
| |
Doc fixes
|
|
|
|
| |
Better error messages
|
|
|
|
| |
mirror compiler source defn of hang
|
|
|
|
| |
Use new PackedString funs to ensure that external buffers are unmarshaled in timely fashion
|
|
|
|
| |
Removed old file I/O junk; bugfixes
|
|
|
|
|
|
|
|
| |
Added support for setting and getting socket options:
data SocketOption
getSocketOption :: Socket -> SocketOption -> IO Int
setSocketOption :: Socket -> SocketOption -> Int -> IO ()
|
|
|
|
|
|
| |
Added stubs for getsockopt() and setsockopt(),
removed redundant ghc_errno switches, use stdErrno()
instead.
|
|
|
|
| |
Unused bunch of prototypes
|
|
|
|
| |
Drop -syslib posix deps
|
|
|
|
| |
Moved unvectorize to here from PosixUtil
|
|
|
|
| |
New functions: SocketPrim.recvFrom and SocketPrim.sendTo
|
|
|
|
| |
unpackNBytesPS glitchlet
|
|
|
|
| |
stubs for recvfrom() and sendto()
|
|
|
|
|
| |
iNADDR_ANY: it's a HostAddress, so convert it to network
byte order.
|
|
|
|
| |
cygwin32 doesn't support the ops for inspecting the various /etc/ files
|
|
|
|
| |
cygwin32 mods
|
|
|
|
| |
accept buglet
|
|
|
|
| |
GetOpt has moved over to exts/
|
|
|
|
| |
In a moment of boredom, converted to use do notation
|
|
|
|
| |
major clean up; fixed misc marshaling bugs; *Entry types now use labelled fields
|
|
|
|
| |
cleaned up a little; clarified the byte ordering of host addresses and port numbers
|
|
|
|
| |
new functions: unpackCStringIO, unpackCStringLenIO, unpackPSIO, unpackNBytesPS, cByteArrayToPS
|
|
|
|
| |
need to import Addr.
|
|
|
|
| |
update for alpha/osf3.
|
|
|
|
| |
Added basic library for computing MD5 message digests
|
|
|
|
| |
Remove unused cpp'ery
|
|
|
|
| |
New functions: isCString, psToCString
|
|
|
|
| |
fixed dropPS typo
|
|
|
|
| |
Add Sven Panne's GetOpt library.
|
|
|
|
| |
Use 'unsigned long' instead of 'u_long'.
|
|
|
|
| |
Socket.hs needs -syslib posix due to cross-module inlinings.
|
|
|
|
| |
code tidyup/update
|
|
|
|
| |
Don't feed mkdependC -D__GNUC__ + fix-fix to mkdependC
|
|
|
|
| |
syslibs: generate dependencies on Prelude modules
|
|
|
|
| |
Simons changes while away at Tic/WG2.8
|
|
|
|
| |
remove references to hslibs, and add \$Id\$
|
|
|
|
| |
src/Readline.lhs --> Readline.lhs
|
|
|
|
| |
cut-and-paste-o.
|
|
|
|
| |
header file for ByteOps.c.
|
|
|
|
| |
C support for ByteOps.lhs.
|
|
|
|
|
|
|
| |
Add a few module from the old HBC lib: they're needed by a couple of things
in nofib.
These can disappear once the dependencies are removed.
|
|
|
|
| |
correct name of lib.
|
|
|
|
| |
take into account $(GhcLibsWithReadline).
|
|
Library re-organisation:
All libraries now live under ghc/lib, which has the following structure:
ghc/lib/std -- all prelude files (libHS.a)
ghc/lib/std/cbits
ghc/lib/exts -- standard Hugs/GHC extensions (libHSexts.a)
-- available with '-fglasgow-exts'
ghc/lib/posix -- POSIX library (libHSposix.a)
ghc/lib/posix/cbits -- available with '-syslib posix'
ghc/lib/misc -- used to be hslibs/ghc (libHSmisc.a)
ghc/lib/misc/cbits -- available with '-syslib misc'
ghc/lib/concurrent -- Concurrent libraries (libHSconc.a)
-- available with '-concurrent'
Also, several non-standard prelude modules had their names changed to begin
with 'Prel' to reduce namespace pollution.
Addr ==> PrelAddr (Addr interface available in 'exts')
ArrBase ==> PrelArr
CCall ==> PrelCCall (CCall interface available in 'exts')
ConcBase ==> PrelConc
GHCerr ==> PrelErr
Foreign ==> PrelForeign (Foreign interface available in 'exts')
GHC ==> PrelGHC
IOHandle ==> PrelHandle
IOBase ==> PrelIOBase
GHCmain ==> PrelMain
STBase ==> PrelST
Unsafe ==> PrelUnsafe
UnsafeST ==> PrelUnsafeST
|