aboutsummaryrefslogtreecommitdiffhomepage
path: root/System
Commit message (Collapse)AuthorAge
* Add `changelog` file and `/Since: 2.7.0.0/` notesGravatar Herbert Valerio Riedel2013-10-12
| | | | | | | The changelog file will be shown on Hackage once it's included in the source tarball. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Declare language extensions via `{-# LANGUAGE -#}`Gravatar Herbert Valerio Riedel2013-10-12
| | | | | | | | | Only language extensions not active when `-XHaskell2010` is enabled are declared, this way we can drop many redundant `{-# LANGUAGE ForeignFunctionInterface #-}` occurences. This commit also removes/replaces some `{-# OPTIONS_GHC -XRecordWildCards #-}` pragmas. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Make sure `HAVE_{SEEK,TELL}DIR` are in scopeGravatar Herbert Valerio Riedel2013-10-12
| | | | | | | | | This is a follow-up to b8fb0a0a9 which made the module exports of `tellDirStream` and `seekDirStream` CPP-conditional but didn't explicitly include `HsUnixConfig.h` which defines the respective CPP defines. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Unconditionalize imports in System.Posix.UserGravatar Reid Barton2013-10-09
| | | | | | Their use site is now unconditional. Issue #8223. Signed-off-by: Austin Seipp <austin@well-typed.com>
* Extract the result of get*_r before we deallocate the auxiliary bufferGravatar Marios Titas2013-08-10
| | | | | | Also comes with tests. This closes #8108. Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Export SignalInfo(..), SignalSpecificInfo(..); completes #2451Gravatar Ian Lynagh2013-07-21
|
* Add "deprecated in" comments to deprecated pragmasGravatar Ian Lynagh2013-02-19
|
* Follow changes in baseGravatar Ian Lynagh2013-02-16
|
* cope with missing telldir/seekdir (for Android)Gravatar Simon Marlow2013-01-30
| | | | Submitted by: Nathan Hüsken <nathan.huesken@posteo.de>
* cope with missing pw_gecos (for Android)Gravatar Simon Marlow2013-01-30
| | | | Submitted by: Nathan Hüsken <nathan.huesken@posteo.de>
* Indicate whether a process dumped core in the ProcessStatusGravatar Simon Marlow2013-01-25
| | | | | | | | | | | | | | | The Bool field of Terminated is new, as is the documentation: data ProcessStatus = Exited ExitCode -- ^ the process exited by calling -- @exit()@ or returning from @main@ | Terminated Signal Bool -- ^ the process was terminated by a -- signal, the @Bool@ is @True@ if a core -- dump was produced | Stopped Signal -- ^ the process was stopped by a signal deriving (Eq, Ord, Show) This is an API change, hence will need a major version bump.
* Import waitpid() with interruptibleGravatar Simon Marlow2013-01-25
|
* Use pthread_kill on OS X tooGravatar Ian Lynagh2013-01-17
| | | | Fixes signals004(threaded1,threaded2) on OS X 32.
* Fix some parenthesesGravatar Ian Lynagh2013-01-17
| | | | I assume that this is what was intended.
* Fix putenv; trac #7342Gravatar Ian Lynagh2012-12-01
| | | | | We were freeing the string, but the string becomes part of the environment.
* Bump base lower version to 4.5 (the version GHC 7.4.1 came with)Gravatar Ian Lynagh2012-11-30
| | | | and remove code to support older versions
* Export CatchInfo,CatchInfoOnce constructors of HandlerGravatar Ian Lynagh2012-10-31
| | | | | | | | | | | | | | | | | | | | This fixes warnings following commit 910a642294eb3547d0cbb3d5735ad81b964f137b Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Mon Oct 29 23:25:25 2012 +0000 Do not treat a constructor in a *pattern* as a *use* of that constructor I'm not sure if this is the right thing to do: In commit 1c4608e3b8737dbb9204f850af4d680ccea7d8ec Author: Simon Marlow <marlowsd@gmail.com> Date: Thu Feb 19 10:05:32 2009 +0000 Rewrite of signal-handling. the commit message says: The new implementation has the capability to define signal handlers that have access to the siginfo of the signal (#592), but this functionality is not exposed in this patch. but this at least gets validate builds working again, and we can change it if necessary as part of #2451
* Fix warnings.Gravatar Paolo Capriotti2012-09-06
|
* Add functions for setting file times with high resolutionGravatar Marios Titas2012-09-03
|
* Fix warnings.Gravatar Paolo Capriotti2012-07-18
|
* Extract high resolution timestamps from FileStatusGravatar Marios Titas2012-07-17
| | | | Signed-off-by: Paolo Capriotti <p.capriotti@gmail.com>
* Add a WARNING for sleep, and expand documentation.Gravatar Paolo Capriotti2012-07-02
| | | | | | | | | | sleep doesn't really work on GHC because it is always immediately interrupted by SIGVTALRM used in the RTS. I explained the problem in a comment and added a WARNING pragma. usleep and nanosleep have a similar problem, but, since they have better precision, they can be restarted, so they are not as unusable as sleep.
* use Control.Monad.void instead of Foreign.void (which is now deprecated)Gravatar Simon Marlow2012-04-25
|
* Add workaround for systems without clearenv.Gravatar Paolo Capriotti2012-04-04
|
* Add setEnvironment and cleanEnv to System.Posix.Env (#5648)Gravatar Paolo Capriotti2012-03-30
|
* fix documentation for getAnyProcessStatus/getGroupProcessStatus (#5946)Gravatar Simon Marlow2012-03-23
|
* Remove tabs from System.Posix.Env.hsc.Gravatar Paolo Capriotti2012-03-09
|
* Convert some FFI decls to use capiGravatar Ian Lynagh2012-02-22
|
* Use error not ioError for consistency.Gravatar David Terei2012-01-09
|
* Code cleaning for recent changesGravatar David Terei2012-01-09
|
* System.Posix.Temp complianceGravatar Deian Stefan2012-01-09
|
* mkstempsGravatar Deian Stefan2012-01-09
|
* Fix validation errorGravatar David Terei2012-01-05
|
* Code clean and documentation improvements to Temp.Gravatar David Terei2012-01-05
|
* fix bugs and added mkdtempGravatar Deian Stefan2012-01-05
|
* forkProcess now works with +RTS -N; update docs and testsGravatar Simon Marlow2011-12-06
|
* Roll back the sigset capi changesGravatar Ian Lynagh2011-12-03
| | | | They broken the build on OSX. See #2979.
* Use capi to define the fcntl FFI importsGravatar Ian Lynagh2011-11-28
|
* Use capi some more (part of #5480)Gravatar Ian Lynagh2011-11-28
|
* Convert come FFI bindings to use the capi calling conventionGravatar Ian Lynagh2011-11-28
|
* Fix Solaris breakage (I hope)Gravatar Simon Marlow2011-11-28
|
* Fixes for NetBSDGravatar Ian Lynagh2011-11-25
| | | | | Based on a patch from Arnaud Degroote <degroote@NetBSD.org> in trac #5480.
* Move openPseudoTerminal into System.Posix.Terminal{.ByteString}Gravatar Simon Marlow2011-11-23
| | | | It may depend on getSlaveTerminalName if !defined(HAVE_OPENPTY)
* Provide a raw ByteString version of FilePath and environment APIsGravatar Simon Marlow2011-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | The new module System.Posix.ByteString provides exactly the same API as System.Posix, except that: - There is a new type: RawFilePath = ByteString - All functions mentioning FilePath in the System.Posix API use RawFilePath in the System.Posix.ByteString API - RawFilePaths are not subject to Unicode locale encoding and decoding, unlike FilePaths. They are the exact bytes passed to and returned from the underlying POSIX API. - Similarly for functions that deal in environment strings (System.Posix.Env): these use untranslated ByteStrings in System.Posix.Environment - There is a new function System.Posix.ByteString.getArgs :: [ByteString] returning the raw untranslated arguments as passed to exec() when the program was started.
* Follow change to FFI decls: Import constructors of newtypesGravatar Ian Lynagh2011-10-21
|
* Follow the removal of the Eq superclass of NumGravatar Ian Lynagh2011-10-12
|
* Fix conditional pragma to work with 6.12Gravatar David Terei2011-08-09
|
* Use Safe Haskell when GHC >= 7.2Gravatar David Terei2011-08-03
|
* Fix typos in future process group APIGravatar Favonia2011-05-31
|
* elaborate the deprecation messages, and add commented-out newGravatar Simon Marlow2011-05-23
| | | | versions, for setProcessGroupID and createProcessGroup