summaryrefslogtreecommitdiff
path: root/ghc/lib/misc
Commit message (Collapse)AuthorAgeFilesLines
* [project @ 1999-11-26 16:29:09 by simonmar]simonmar1999-11-2657-16969/+0
| | | | GHC bits for new library organisation.
* [project @ 1999-10-29 14:01:53 by sof]sof1999-10-291-2/+5
| | | | Pure Win32 builds doesn't support non-blocking IO
* [project @ 1999-10-29 13:59:52 by sof]sof1999-10-291-5/+5
| | | | wibble
* [project @ 1999-10-29 13:55:40 by sof]sof1999-10-292-4/+16
| | | | attach version info
* [project @ 1999-10-27 08:54:16 by simonmar]simonmar1999-10-271-2/+5
| | | | | Fix crashes in re_search. Several other functions in this file need fixing too.
* [project @ 1999-10-26 08:41:54 by sof]sof1999-10-262-15/+12
| | | | Foreign imports that use ByteArrays now need to be marked as being 'unsafe.'
* [project @ 1999-10-11 08:49:06 by simonmar]simonmar1999-10-111-1/+1
| | | | use $(GHC), not $(HC)
* [project @ 1999-10-07 13:09:48 by sof]sof1999-10-071-9/+24
| | | | Delay shutting down WinSock until exit() time
* [project @ 1999-10-05 10:30:26 by simonmar]simonmar1999-10-051-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Build System Cleanup -------------------- This commit is intended to clear the way for automatic RPM building. In particular, the idea is that 'make install' doesn't build anything, so you can do make install prefix=/some/tmp/prefix to install everything in /some/tmp/prefix, but leave the hardwired-in install directories the same. For scripts that depend on the install dir (currently just the GHC driver and mkdependHS), we now build two versions: <script>-inplace, which is used for running the script from the build tree, and <script>, which is the to-be-installed version. NOTE: binary distributions are now a little bit trickier to build. You *must* include the line "BIN_DIST=1" in your build.mk if you intend to make a binary distribution from the current build tree. This is because certain scripts have to be built differently, and we don't rebuild them when doing 'make binary-dist' anymore (since 'make binary-dist' just does a 'make install' with a re-targetted prefix, just like the RPM builder). Other changes - the binary-dist machinery is now all in fptools/Makefile - removed a gratuitous $(package)-$(version) level of directories from the binary distribution. - binary distributions are now placed under the package name, rather than fptools/fptools. - various other minor cleanups.
* [project @ 1999-10-05 09:02:30 by simonmar]simonmar1999-10-055-25/+27
| | | | | | Flatten out the tuple of bounds in the Array, MutableArray and ByteArray datatypes. This improves performance of heavy array manipulations quite significantly.
* [project @ 1999-09-20 10:18:29 by simonmar]simonmar1999-09-204-37/+30
| | | | | | | - 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.
* [project @ 1999-09-17 10:43:51 by sof]sof1999-09-172-4/+26
| | | | DLL building tweaks, including terrible hack to compile PrelMain
* [project @ 1999-09-17 09:38:33 by sof]sof1999-09-172-0/+4
| | | | Non-blocking I/O isn't supported on 'pure' Win32 platforms.
* [project @ 1999-09-16 13:14:38 by simonmar]simonmar1999-09-163-34/+63
| | | | | | | | | | | | | | | | | | | | 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.
* [project @ 1999-09-11 16:49:02 by sof]sof1999-09-113-0/+221
| | | | Added hSelect
* [project @ 1999-08-06 12:09:30 by sof]sof1999-08-061-908/+0
| | | | Moved Pretty from misc/ to exts/
* [project @ 1999-08-06 10:55:26 by simonmar]simonmar1999-08-061-2/+4
| | | | Don't add -I$(ReadlineIncludePath) if $(ReadlineIncludePath) is empty.
* [project @ 1999-07-29 13:57:34 by sof]sof1999-07-292-5/+5
| | | | | Recent CPP-related wibblement meant that _WIN32 wasn't defined when the pre-proc was run (cf. -undef usage.) Avoid the use of _WIN32
* [project @ 1999-07-12 10:43:10 by sof]sof1999-07-122-2/+2
| | | | Cygwin B19 compatibility fixes
* [project @ 1999-07-03 19:15:26 by sof]sof1999-07-033-5/+8
| | | | Don't use WinSock under cygwin
* [project @ 1999-06-25 10:23:08 by panne]panne1999-06-251-2/+2
| | | | Readline needs Posix stuff
* [project @ 1999-05-18 14:59:04 by simonpj]simonpj1999-05-183-9/+3
| | | | ../compiler/msg_prel
* [project @ 1999-05-11 17:05:43 by keithw]keithw1999-05-111-3/+1
| | | | Remove some comments left in by mistake.
* [project @ 1999-05-11 16:47:39 by keithw]keithw1999-05-111-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | (this is number 9 of 9 commits to be applied together) Usage verification changes / ticky-ticky changes: We want to verify that SingleEntry thunks are indeed entered at most once. In order to do this, -ticky / -DTICKY_TICKY turns on eager blackholing. We blackhole with new blackholes: SE_BLACKHOLE and SE_CAF_BLACKHOLE. We will enter one of these if we attempt to enter a SingleEntry thunk twice. Note that CAFs are dealt with in by codeGen, and ordinary thunks by the RTS. We also want to see how many times we enter each Updatable thunk. To this end, we have modified -ticky. When -ticky is on, we update with a permanent indirection, and arrange that when we enter a permanent indirection we count the entry and then convert the indirection to a normal indirection. This gives us a means of counting the number of thunks entered again after the first entry. Obviously this screws up profiling, and so you can't build a ticky and profiling compiler any more. Also a few other changes that didn't make it into the previous 8 commits, but form a part of this set.
* [project @ 1999-05-05 10:48:03 by sof]sof1999-05-051-2/+5
| | | | DLL config added
* [project @ 1999-05-05 10:36:29 by sof]sof1999-05-054-33/+87
| | | | switch over to using Winsock on the _WIN32 side
* [project @ 1999-05-05 10:34:53 by sof]sof1999-05-055-4/+68
| | | | stubs for starting & stopping Winsock
* [project @ 1999-04-27 17:26:09 by keithw]keithw1999-04-271-1/+1
| | | | glasgow-haskell-{bugs,users} has moved.
* [project @ 1999-04-26 15:19:28 by simonm]simonm1999-04-261-0/+34
| | | | | Add simple high-level interface to Regex (snaffled from my nofib log analyser).
* [project @ 1999-03-29 10:35:28 by simonm]simonm1999-03-291-181/+91
| | | | Overhauled by Sven Panne.
* [project @ 1999-03-02 09:17:02 by simonm]simonm1999-03-021-1/+1
| | | | makeForeignObj --> mkForeignObj
* [project @ 1999-02-26 17:43:55 by simonm]simonm1999-02-261-27/+43
| | | | | | | | | | | Allow the memo table itself to be collected when the function becomes unreachabl. - individual finalizers refer back to the memo table via a weak pointer. - a finalizer for the whole table walks through each bucket calling 'finalize' on every weak pointer.
* [project @ 1999-02-11 17:54:36 by simonm]simonm1999-02-112-9/+9
| | | | finalise/finalize changes.
* [project @ 1999-02-06 17:12:03 by sof]sof1999-02-061-7/+5
| | | | H98ified
* [project @ 1999-02-05 14:34:02 by sof]sof1999-02-051-3/+3
| | | | 'errors' caught by -fwarn-type-defaults
* [project @ 1999-02-03 20:26:26 by sof]sof1999-02-031-18/+9
| | | | Drop uneccessary uses of lit-lits and primops
* [project @ 1999-02-03 16:54:00 by simonm]simonm1999-02-032-2/+112
| | | | Add memo table library.
* [project @ 1999-02-03 09:08:01 by simonm]simonm1999-02-031-5/+5
| | | | boundsOfByteArray --> boundsOfMutableByteArray
* [project @ 1999-01-29 13:52:09 by simonm]simonm1999-01-291-2/+2
| | | | A couple of underscore got lost a long time ago.
* [project @ 1999-01-28 11:33:42 by simonpj]simonpj1999-01-282-3/+1
| | | | Remove unnecessary imports
* [project @ 1999-01-15 12:57:49 by simonm]simonm1999-01-152-7/+7
| | | | H98 changes for non-cygwin targets.
* [project @ 1999-01-14 18:17:32 by sof]sof1999-01-1412-192/+183
| | | | -syslib misc meets Haskell 98.
* [project @ 1998-12-02 13:17:09 by simonm]simonm1998-12-0227-158/+590
| | | | Move 4.01 onto the main trunk.
* [project @ 1998-10-06 14:54:49 by simonm]simonm1998-10-061-2/+1
| | | | back out last commit on trunk (should have gone to new-rts branch).
* [project @ 1998-10-06 14:36:27 by simonm]simonm1998-10-061-7/+10
| | | | back out revision 1.2 (change made on wrong branch).
* [project @ 1998-09-29 15:50:13 by sof]sof1998-09-292-11/+9
| | | | merged from HEAD
* [project @ 1998-08-25 14:12:03 by sof]sof1998-08-251-1/+1
| | | | Import list adjustments
* [project @ 1998-08-25 14:01:53 by sof]sof1998-08-251-1/+1
| | | | Fixed prob with building Readline stubs.
* [project @ 1998-08-24 19:20:59 by sof]sof1998-08-241-8/+11
| | | | Import list updates
* [project @ 1998-08-24 19:20:24 by sof]sof1998-08-241-4/+3
| | | | Adjusted some imports; dropped PackedString dependency in favour of CString