aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Fix compilation issues with new getgrent/getpwent codeGravatar John Goerzen2006-08-30
|
* Added support for getpwent/getgrentGravatar John Goerzen2006-08-30
|
* Added some Haddock docs for UserEntry and GroupEntryGravatar John Goerzen2006-08-29
|
* Add missing field gr_passwd to GroupEntryGravatar John Goerzen2006-08-29
|
* Whitespace changes for better alignment in unpackUserEntryGravatar John Goerzen2006-08-29
|
* Added pw_passwd and pw_gecos fields to UserEntry structureGravatar John Goerzen2006-08-29
| | | | | | System.Posix.User was missing pw_gecos and pw_passwd in UserEntry. I have added them, so now the full struct passwd is represented.
* includes -> install-includesGravatar Ross Paterson2006-08-29
|
* exclude Setup.hs from buildGravatar Ross Paterson2006-08-24
|
* add boilerplate Setup.hsGravatar Ross Paterson2006-08-24
|
* Added more documentation to System.Posix.FilesGravatar Johan Tibell2006-08-13
|
* fix markup (#854)Gravatar Ross Paterson2006-08-20
|
* change test for buildabilityGravatar Ross Paterson2006-08-19
| | | | | Checking for dlfcn.h instead of creat() should make the Cabal build fail more gracefully under MinGW.
* document args to executeFileGravatar Simon Marlow2006-08-09
|
* fix bogosity in getEnvironmentPrimGravatar Simon Marlow2006-05-31
|
* Track the GHC source tree reoganisationGravatar Simon Marlow2006-04-07
|
* [project @ 2005-11-10 13:00:55 by simonmar]Gravatar simonmar2005-11-10
| | | | some Haddock docs, from Isaac Jones.
* [project @ 2005-11-10 12:58:32 by simonmar]Gravatar simonmar2005-11-10
| | | | Some docs for System.Posix, from Bj?rn Bringert
* [project @ 2005-09-20 22:54:33 by ross]Gravatar ross2005-09-20
| | | | make the unix package independent.
* [project @ 2005-09-20 16:35:26 by ross]Gravatar ross2005-09-20
| | | | move RTLD_* tests down to unix package
* [project @ 2005-09-19 23:24:31 by ross]Gravatar ross2005-09-19
| | | | For compilers other than MSVC and GCC, assume inline has the C99 semantics.
* [project @ 2005-08-10 10:07:22 by simonmar]Gravatar simonmar2005-08-10
| | | | Fix queryFdOption
* [project @ 2005-08-04 02:09:36 by wolfgang]Gravatar wolfgang2005-08-04
| | | | | | | Check for RTLD_DEFAULT in dlfcn.h and use it if it is available. (On Mac OS X its value is -2, and using NULL instead does not work.) MERGE TO STABLE
* [project @ 2005-07-21 12:54:33 by simonmar]Gravatar simonmar2005-07-21
| | | | | | | | | | | Hack Makefiles so that 'make distclean' works even if the tree has not been configured, or 'make distclean' has already been run. This is to solve problems caused by 'make distclean' removing files that it needs itself - previously we were arranging to remove certain files right at the end of cleaning, but this is fragile. So now we assume that e.g. the X11 library is always enabled when we're cleaning.
* [project @ 2005-05-10 10:40:12 by simonmar]Gravatar simonmar2005-05-10
| | | | PATH_MAX fixes from Thomas Schwinge.
* [project @ 2005-03-23 14:34:21 by ross]Gravatar ross2005-03-23
| | | | add license files for individual packages
* [project @ 2005-03-08 16:22:05 by simonmar]Gravatar simonmar2005-03-08
| | | | | Undo previous commit: it breaks when RLIM_INFINITY is defined to an expression that CPP doesn't understand.
* [project @ 2005-03-08 04:45:38 by wolfgang]Gravatar wolfgang2005-03-08
| | | | | | | | | | | | Mac OS X: Kill HaskellSupport.framework. Instead, look for GMP.framework (a framework-version of libgmp), else look for a normal -lgmp as usual. The other part of HaskellSupport.framework, dlcompat, is no longer needed (as of Mac OS X 10.3, it's included in libSystem). It's enough to just use the normal configure tests for -ldl. MERGE TO STABLE
* [project @ 2005-03-05 14:32:09 by panne]Gravatar panne2005-03-05
| | | | | Warning police (for platforms where all resource limits can be represented, i.e. RLIM_INFINITY == RLIM_SAVED_MAX == RLIM_SAVED_CUR)
* [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