summary refs log tree commit diff stats
path: root/lib/posix/posix.nim
Commit message (Collapse)AuthorAgeFilesLines
* lib/posix - Dropped 'T' from typespdw2015-06-041-456/+482
|
* Fixed SIGPIPE on MacOSyglukhov2015-04-081-1/+4
|
* fixes https://github.com/Araq/Nim/issues/2116Jakob Oesterling2015-04-011-1/+2
|
* Fixed Tdirent definition for OS X and BSD.Reimer Behrends2015-03-221-1/+1
| | | | | Entries d_type etc. were disabled on architectures other than Linux, but also used for OS X and BSD in os.nim.
* fixes #2116Araq2015-03-221-4/+5
|
* Add some posix dirent documentationdef2015-02-241-11/+12
|
* Speed up walkDir significantlydef2015-02-241-0/+13
| | | | | | We only know that this works on Linux and Mac OS X, so other systems use the POSIX conforming version still. This removed the lstat call, which is especially expensive on NFS filesystems for me.
* Always use 0x40 for POSIX_SPAWN_USEVFORKdef2015-02-171-6/+4
|
* fixes #2116Araq2015-02-131-11/+4
|
* Fixes parallel build on FreeBSDmodk2015-01-261-8/+8
|
* Add workaround for TCC to make POSIX_SPAWN_USEVFORK availabledef2015-01-061-1/+6
|
* ignore signal SIGPIPE on DarwinAndre2014-12-301-2/+2
|
* Merge branch 'devel' into bigbreakAraq2014-11-031-42/+0
|\ | | | | | | | | | | | | | | Conflicts: lib/impure/db_postgres.nim lib/pure/json.nim lib/pure/math.nim lib/system/atomics.nim
| * Merge pull request #1448 from def-/posix-mathAndreas Rumpf2014-11-031-42/+0
| |\ | | | | | | Add -lm for fesetround and fegetround
| | * Move floating point rounding and exceptions handling to mathdef2014-08-061-45/+0
| | | | | | | | | | | | (it's C99 as well, not just POSIX)
| | * Add -lm for fesetround and fegetrounddef2014-08-051-0/+3
| | |
* | | Fixed FD_SET casingErik O'Leary2014-10-101-1/+1
| | |
* | | 'nimfix' improvements; FdSet is TFdSet againAraq2014-09-081-8/+8
| | |
* | | more tests greenAraq2014-08-311-16/+16
| | |
* | | fixed posix.nimAraq2014-08-301-1/+2
| | |
* | | posix.nim compiles againAraq2014-08-291-34/+34
| | |
* | | Nimrod renamed to NimAraq2014-08-281-3/+3
| | |
* | | big renameAraq2014-08-281-76/+81
| | |
* | | big renameAraq2014-08-281-2/+5
|/ /
* | Merge pull request #1405 from boydgreenfield/add_mmap_map_populateAndreas Rumpf2014-08-121-0/+10
|\ \ | |/ |/| Add mmap map populate
| * Only try to import MAP_POPULATE on Linux, define flag as 0 otherwise.Nick Greenfield2014-07-231-2/+10
| |
| * Add automatic MAP_POPULATE flag for opening read_only (MAP_PRIVATE) and ↵Nick Greenfield2014-07-231-0/+2
| | | | | | | | shared (MAP_SHARED) mmap files.
* | Add "struct" to POSIX flockdef2014-07-311-1/+1
|/
* Fixes missing MSG_NOSIGNAL on Mac OS X.Dominik Picheta2014-07-141-2/+11
|
* Added define check for openBSD around fmtmsg.h stuff, OpenBSD does not ↵Charlie Barto2014-05-041-2/+2
| | | | actually include this header
* New concurrency model: next stepsAraq2014-04-191-0/+2
|
* Merge pull request #927 from gradha/pr_adds_posix_timegmAndreas Rumpf2014-03-031-0/+1
|\ | | | | Adds posix.timegm(), brother of posix.mktime().
| * Adds posix.timegm(), brother of posix.mktime().Grzegorz Adam Hankiewicz2014-02-151-0/+1
| |
* | Merge pull request #917 from zielmicha/vforkAndreas Rumpf2014-02-231-0/+1
|\ \ | | | | | | osproc: Raise exception if execv fails in child process
| * | osproc: make failed execv an exception (when using fork or clone)Michał Zieliński2014-02-151-0/+1
| |/ | | | | | | | | startProcessAuxFork creates a pipe, which is used by a child to pass an error code if execv fails.
* / Implemented selector support for asyncio2.Dominik Picheta2014-02-221-1/+1
|/
* Adds utimes() importc to posix module.Grzegorz Adam Hankiewicz2014-02-021-0/+12
|
* Merge branch 'osproc' into develMichał Zieliński2014-01-201-446/+445
|\ | | | | | | | | | | Conflicts: lib/posix/posix.nim lib/pure/osproc.nim
| * Introduce poEvalCommand, poUsePath, fix remaining quoting issues.Michał Zieliński2013-12-211-2/+1
| | | | | | | | | | | | | | - poUsePath is now an alias for poUseShell. - poEvalCommand should be used when shell evaluation is really needed. It passes `command` directly to shell/winapi. Requires `args` parameter to be empty.
* | case consistency for linuxAraq2013-12-291-234/+234
|/
* Made TSocketHandle distinct and fixed problems it caused for SSL.Dominik Picheta2013-10-231-22/+26
|
* Added a TSocketHandle type to winlean.nim and posix.nimClay Sweetser2013-10-151-0/+3
| | | | Edited sockets.nim and asyncio.nim to use the new TSocketHandle type.
* some fixes for HaikuAraq2013-09-011-45/+49
|
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* Many fixes for asynchronous sockets. Asyncio should now work well with ↵Dominik Picheta2012-07-221-1/+1
| | | | | | buffered and unbuffered plain and ssl sockets. Added asyncio test to the test suite.
* changed integer promotion rules; added math.fmodAraq2012-06-281-1/+1
|
* produce errors on proc types with implicit empty param lists.Zahary Karadjov2012-04-201-2/+2
|
* implemented incompleteStruct pragma; embedded debugger works with posix moduleAraq2012-01-051-3/+12
|
* year 2012 for most copyright headersAraq2012-01-021-1/+1
|
* attempt to fix tunidecode test; GC cares for seq->openArray conversionsAraq2011-11-211-3/+5
|