aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* [project @ 2005-03-02 16:39:57 by ross]Gravatar ross2005-03-02
| | | | *Config.h files are in include/ (MERGE to STABLE)
* [project @ 2005-03-02 14:46:16 by simonmar]Gravatar simonmar2005-03-02
| | | | distcleaning of things generated by configure
* [project @ 2005-02-24 09:58:27 by simonmar]Gravatar simonmar2005-02-24
| | | | | | nDoc fixes from Sven Panne. Generally fixing of Haddock links, adding some signatures, and in some cases exporting type constructors that are mentioned in the types of exported identifiers.
* [project @ 2005-02-18 18:30:40 by ross]Gravatar ross2005-02-18
| | | | | | | | | Rename package description fields as in InstalledPackageInfo: options-ghc -> ghc-options options-hugs -> hugs-options options-nhc -> nhc-options extra-libs -> extra-libraries
* [project @ 2005-02-18 15:06:47 by simonmar]Gravatar simonmar2005-02-18
| | | | | | | | | | | Rename fields in InstalledPackageInfo for consistency with PackageDescription & buildInfo: extra-libs (extraLibraries) --> extra-libraries (extraLibraries) extra-cc-opts (extraCcOpts) --> cc-options (ccOptions) extra-ld-opts (extraLdOpts) --> ld-options (ldOptions) extra-hugs-opts (extraHugsOpts) --> hugs-options (hugsOptions) extra-frameworks (extraFrameworks) --> frameworks (frameworks)
* [project @ 2005-02-11 01:55:58 by ross]Gravatar ross2005-02-11
| | | | | | | | | | track syntax changes: * add License-File and Synopsis fields * rename Hidden-Fields as Other-Fields These files are used only by Hugs, but are also useful as examples.
* [project @ 2005-02-07 12:03:44 by simonmar]Gravatar simonmar2005-02-07
| | | | Doc for handleToFd and fdToHandle
* [project @ 2005-01-28 13:36:36 by simonmar]Gravatar simonmar2005-01-28
| | | | | | | Catch up with updates to platform #defines. Generally: use _HOST_ rather than _TARGET_ (except in Cabal where we have to retain compatibility with previous GHC versions).
* [project @ 2005-01-25 17:06:40 by ross]Gravatar ross2005-01-25
| | | | add Cabal package descriptions
* [project @ 2005-01-21 12:35:38 by simonmar]Gravatar simonmar2005-01-21
| | | | update the haddock fields (this one somehow got missed)
* [project @ 2005-01-20 14:22:28 by simonmar]Gravatar simonmar2005-01-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fill in the haddock-interfaces and haddock-html fields in the package.conf files. To do this I had to make some changes: - haddock-interfaces requires the value of $(datadir). We can't just plug this in, because $(datadir) might change at install-time (eg. a Windows installer can be placed anywhere, as can a Unix binary .tar.gz distribution). The current trick is for the compiler to splice in the value of $libdir in package.conf at runtime. So we could extend this mechanism and tell the compiler the value of $datadir via a command-line option, but that seems ugly. On Windows, $datadir==$libdir, so we don't need any changes: package.conf still uses $libdir, and a Windows installation is independent of its absolute location. Even 'make install' on Windows should have this property. On Unix: - for 'make install' and in-place execution, we just use absolute paths in package.conf - for a binary dist, we generate a package.conf that refers to $libdir and $datadir, and splice in the values at install-time (distrib/Makefile-bin.in). - Also, I renamed $libdir to $topdir to more closely reflect its actual meaning. This is somewhat malicious in that it will flush out all those clients using $libdir when they really shouldn't be :-)
* [project @ 2005-01-06 11:27:48 by ross]Gravatar ross2005-01-06
| | | | c_ftruncate is now in System.Posix.Internals
* [project @ 2004-12-02 15:57:06 by ross]Gravatar ross2004-12-02
| | | | | Hugs only: replace the CBITS pragma (files relative to cbits) with CFILES (files relative to the root of the package).
* [project @ 2004-11-26 16:22:12 by simonmar]Gravatar simonmar2004-11-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Further integration with the new package story. GHC now supports pretty much everything in the package proposal. - GHC now works in terms of PackageIds (<pkg>-<version>) rather than just package names. You can still specify package names without versions on the command line, as long as the name is unambiguous. - GHC understands hidden/exposed modules in a package, and will refuse to import a hidden module. Also, the hidden/eposed status of packages is taken into account. - I had to remove the old package syntax from ghc-pkg, backwards compatibility isn't really practical. - All the package.conf.in files have been rewritten in the new syntax, and contain a complete list of modules in the package. I've set all the versions to 1.0 for now - please check your package(s) and fix the version number & other info appropriately. - New options: -hide-package P sets the expose flag on package P to False -ignore-package P unregisters P for this compilation For comparison, -package P sets the expose flag on package P to True, and also causes P to be linked in eagerly. -package-name is no longer officially supported. Unofficially, it's a synonym for -ignore-package, which has more or less the same effect as -package-name used to. Note that a package may be hidden and yet still be linked into the program, by virtue of being a dependency of some other package. To completely remove a package from the compiler's internal database, use -ignore-package. The compiler will complain if any two packages in the transitive closure of exposed packages contain the same module. You *must* use -ignore-package P when compiling modules for package P, if package P (or an older version of P) is already registered. The compiler will helpfully complain if you don't. The fptools build system does this. - Note: the Cabal library won't work yet. It still thinks GHC uses the old package config syntax. Internal changes/cleanups: - The ModuleName type has gone away. Modules are now just (a newtype of) FastStrings, and don't contain any package information. All the package-related knowledge is in DynFlags, which is passed down to where it is needed. - DynFlags manipulation has been cleaned up somewhat: there are no global variables holding DynFlags any more, instead the DynFlags are passed around properly. - There are a few less global variables in GHC. Lots more are scheduled for removal. - -i is now a dynamic flag, as are all the package-related flags (but using them in {-# OPTIONS #-} is Officially Not Recommended). - make -j now appears to work under fptools/libraries/. Probably wouldn't take much to get it working for a whole build.
* [project @ 2004-11-18 16:39:54 by stolz]Gravatar stolz2004-11-18
| | | | Push down more feature-tests
* [project @ 2004-11-12 17:08:58 by stolz]Gravatar stolz2004-11-12
| | | | | | | Fix FFI-funniness, cf. http://www.haskell.org/pipermail/glasgow-haskell-users/2002-February/003020.html Noticed by: George Russell (again)
* [project @ 2004-11-12 14:56:13 by stolz]Gravatar stolz2004-11-12
| | | | | | Fix previous commit: Don't handle Solaris2-flag _POSIX_PTHREAD_SEMANTICS in configure at all but simply #ifdef solaris2_TARGET_OS #define ... it in the header-file.
* [project @ 2004-11-12 13:22:56 by stolz]Gravatar stolz2004-11-12
| | | | More getpw*_r result checks
* [project @ 2004-11-12 12:12:53 by stolz]Gravatar stolz2004-11-12
| | | | | Push some unixisms from toplvl into package: usleep, SunOS-handling, getpw*
* [project @ 2004-11-05 14:59:33 by stolz]Gravatar stolz2004-11-05
| | | | | | | | | | | | | | | | Fix getpwnam_r-handling: getpwnam_r returns (always?) 0, you have to check result* (pppw[0])! Truss-log from querying first "root", then "" on SunOS 5.9: <- libc:__posix_getpwnam_r() = 0 "root" -> libc:__posix_getpwnam_r(0xff1bf8a8, 0xff1bf460, 0xff1bf490, 0x400) <- libc:__posix_getpwnam_r() = 0 Yes, that's 0 in both cases. (I wasn't even able to elicit an ERANGE btw.) Reported by: Peter Simons
* [project @ 2004-10-27 10:51:15 by simonmar]Gravatar simonmar2004-10-27
| | | | | Fix bug in forkProcess: we weren't wrapping the forked IO action in the default exception handler, so exitFailure wasn't working properly.
* [project @ 2004-10-15 09:42:02 by simonmar]Gravatar simonmar2004-10-15
| | | | | - sleep, usleep: make thread-safe - add Haddock comments
* [project @ 2004-10-09 07:51:07 by panne]Gravatar panne2004-10-09
| | | | | Unbreak Hugs by moving pPrPr_disableITimers and execvpe to System.Posix.Internals (base package) and use it from System.Posix.Process (unix package).
* [project @ 2004-10-08 18:35:50 by panne]Gravatar panne2004-10-08
| | | | Unbreak Hugs, 2nd try...
* [project @ 2004-10-08 17:48:57 by panne]Gravatar panne2004-10-08
| | | | Unbreak Hugs: execvpe.c has gone
* [project @ 2004-10-08 12:04:49 by ross]Gravatar ross2004-10-08
| | | | revert previous change, so now these includes don't define PACKAGE_*
* [project @ 2004-10-08 08:42:53 by dons]Gravatar dons2004-10-08
| | | | Tweak the PACKAGE_* #undefs in a couple of other places, too.
* [project @ 2004-10-06 10:13:08 by ross]Gravatar ross2004-10-06
| | | | make the evil PACKAGE_* hacks consistent
* [project @ 2004-09-30 03:13:23 by dons]Gravatar dons2004-09-30
| | | | | | | | | | | | Implement System.Posix.User.getUserEntryFor{ID,Name} on platforms without reentrant versions of getpw{uid,nam}. This includes all the BSDs. While I'm here, close getGroupEntryFor* "Result too large" bug on OpenBSD, mentioned last year: http://www.haskell.org/pipermail/glasgow-haskell-bugs/2003-September/003601.html grBufSize was too small, apparently. Thanks to Ian Lynagh for hint to do the locking.
* [project @ 2004-09-29 15:50:54 by simonmar]Gravatar simonmar2004-09-29
| | | | | | | | | | | | | | Process reorganisation: the System.Process library moves into base, and System.Cmd is re-implemented in terms of it. Thanks to Krasimir Angelov, we have a version of System.Process that doesn't rely on the unix or Win32 libraries. Normally using unix/Win32 would be the right thing, but since we want to implement System.Cmd on top of this, and GHC uses System.Cmd, we can't introduce a bunch of .hsc dependencies into GHC's bootstrap libraries. So, the new version is larger, but has fewer dependencies. I imagine it shouldn't be too hard to port to other compilers.
* [project @ 2004-09-22 09:14:23 by panne]Gravatar panne2004-09-22
| | | | | | | | | | | | | As a temporary measure, use an ultra-evil sledgehammer method to silence the PACKAGE_FOO clashes. The correct way of doing this would be splitting up HsPACKAGE.h and ghcconfig.h into two parts each: One part would be generated by autoheader and would contain the defines which are needed during package build time only. The other part would contain all kinds of stuff which is needed for using the given package (no PACKAGE_FOO defines here). For an example of this, see the OpenAL package. As an additional benefit, this would keep the namespace much cleaner, because 2nd kind of headers is typically smaller. No time for the real thing currently, hope the current workaround works...
* [project @ 2004-09-18 12:50:00 by panne]Gravatar panne2004-09-18
| | | | | | | | Make autoupdate 2.52 happy, mainly by using the new formats of AC_INIT and AC_OUTPUT. This has the nice side effect that all "packages" have now a name, a version, a bug-report address, and a tar name, yielding better output with "configure --help=recursive". Nuked an unused AC_STRUCT_ST_BLKSIZE test on the way.
* [project @ 2004-09-15 15:55:45 by stolz]Gravatar stolz2004-09-15
| | | | | | | | | Add System.Posix.Signals.Exts which re-exports S.P.Signals and adds the two signals SIGINFO on (*BSD) and SIGWINCH (most Unices) which are not in POSIX. You should use cpp to test if those are defined before using them. This is encouraged by not providing dummy-definitions on platforms which do not offer that particular flavour.
* [project @ 2004-09-09 06:55:47 by panne]Gravatar panne2004-09-09
| | | | Unified the comments in (almost) empty aclocal.m4 files
* [project @ 2004-09-03 07:46:56 by ross]Gravatar ross2004-09-03
| | | | add empty aclocal.m4's (so we don't need aclocal)
* [project @ 2004-09-02 15:18:10 by ross]Gravatar ross2004-09-02
| | | | devolve some library-specific configuration
* [project @ 2004-08-19 11:15:51 by simonmar]Gravatar simonmar2004-08-19
| | | | | | | | | Add filenames to all errors where it makes sense. I've added System.Posix.Error with a new family of error-throwing functions, throwErrnoPath*. This seemed to make the most sense: they don't belong in Foreign.C.Error (C by itself has no notion of paths). Fixes: [ 954378 ] getFileStatus does not include the file name in IO-Error
* [project @ 2004-08-13 13:29:11 by simonmar]Gravatar simonmar2004-08-13
| | | | | Changes required be merge of backend-hacking-branch. Mostly config.h ==> ghcconfig.h.
* [project @ 2004-05-13 09:55:59 by stolz]Gravatar stolz2004-05-13
| | | | | | | Inverted logic would call dlerror() after a successful dlclose() and cause a segfault. Noticed by: abe.egnor At gmail.com
* [project @ 2004-03-09 11:37:14 by simonmar]Gravatar simonmar2004-03-09
| | | | | change the foreign import of waitpid to "safe", so that we can use it in a non-blocking way with the threaded RTS.
* [project @ 2004-02-19 16:29:28 by stolz]Gravatar stolz2004-02-19
| | | | | | Remove redundant _POSIX_PTHREAD_SEMANTICS. It's defined on the command line and also set too late/in the wrong place (after including system prototypes), anyway.
* [project @ 2004-02-05 11:46:00 by ross]Gravatar ross2004-02-05
| | | | | Hugs only: use the configure-set variable INLINE_ONLY instead of `extern inline' (which works for gcc but not C99 compilers).
* [project @ 2003-12-15 16:57:30 by ross]Gravatar ross2003-12-15
| | | | include dirent.h to avoid warnings when compiling System.Posix.Directory
* [project @ 2003-12-05 10:20:25 by ross]Gravatar ross2003-12-05
| | | | | | | solaris_TARGET_OS -> solaris2_TARGET_OS (and tweak the #define while I'm here) Works for Hugs, still untested for GHC, but presumably needed for STABLE.
* [project @ 2003-11-15 22:31:18 by panne]Gravatar panne2003-11-15
| | | | | | | 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... :-)
* [project @ 2003-11-10 15:32:45 by simonmar]Gravatar simonmar2003-11-10
| | | | Change the documentation title from "Haskell Core Libraries" to "Haskell Hierarchical Libraries".
* [project @ 2003-10-27 11:58:28 by stolz]Gravatar stolz2003-10-27
| | | | | | | - fix typo in error message - a bit of manual CSE for fcntl-flags - use Data.Bits instead of brains - make (unexported) function names a bit more consistent
* [project @ 2003-10-24 14:46:13 by sof]Gravatar sof2003-10-24
| | | | | | drop cygwin #ifdef; not an issue with current versions. merge to stable
* [project @ 2003-10-24 14:38:27 by sof]Gravatar sof2003-10-24
| | | | | | code tidyup merge to stable
* [project @ 2003-10-23 23:32:43 by sof]Gravatar sof2003-10-23
| | | | | | fdRead: drop superfluous array copying merge to stable