| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
GHC bits for new library organisation.
|
|
|
|
| |
Pure Win32 builds doesn't support non-blocking IO
|
|
|
|
| |
attach version info
|
|
|
|
| |
use $(GHC), not $(HC)
|
|
|
|
| |
Delay shutting down WinSock until exit() time
|
|
|
|
|
|
|
| |
- fix bug in setSocketOption__ which meant that trying to set
SO_REUSEADDR on Linux (and possibly other OS's) didn't work.
- add rudimentary non-blocking connect support.
|
|
|
|
| |
DLL building tweaks, including terrible hack to compile PrelMain
|
|
|
|
| |
Non-blocking I/O isn't supported on 'pure' Win32 platforms.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cleanup of non-blocking I/O
- file descriptors are now always set to non-blocking mode.
- we don't do an inputReady operation on descriptors before
attempting to read from them any more.
- the non-blocking flag on Handles has gone.
- the {set,clear}[Conn]NonBlockingFlag() functions have gone.
- the socket operations have been made to work properly with threads:
accept is now non-blocking (it does a threadWaitRead instead of
blocking), and the file descriptors returned by accept are set to
non-blocking mode.
Win32 will need some adjustments, no doubt.
|
|
|
|
| |
Added hSelect
|
|
|
|
| |
Cygwin B19 compatibility fixes
|
|
|
|
| |
Don't use WinSock under cygwin
|
|
|
|
| |
stubs for starting & stopping Winsock
|
|
|
|
| |
A couple of underscore got lost a long time ago.
|
|
|
|
| |
Move 4.01 onto the main trunk.
|
|
|
|
| |
back out last commit on trunk (should have gone to new-rts branch).
|
|
|
|
| |
merged from HEAD
|
|
|
|
| |
Fixed prob with building Readline stubs.
|
|
|
|
| |
include netinet/tcp.h if available.
|
|
|
|
|
|
| |
Added stubs for getsockopt() and setsockopt(),
removed redundant ghc_errno switches, use stdErrno()
instead.
|
|
|
|
| |
Unused bunch of prototypes
|
|
|
|
| |
stubs for recvfrom() and sendto()
|
|
|
|
| |
Added basic library for computing MD5 message digests
|
|
|
|
| |
Don't feed mkdependC -D__GNUC__ + fix-fix to mkdependC
|
|
|
|
| |
header file for ByteOps.c.
|
|
|
|
| |
C support for ByteOps.lhs.
|
|
|
|
| |
correct name of lib.
|
|
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
|