Commit Graph

89 Commits

Author SHA1 Message Date
Bruce Doan
2ffb385611 wait's input is nullable, and it is discardable 2015-09-16 17:39:14 +07:00
Adam Strzelecki
43bddf62dd lib: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:03:56 +02:00
Yuriy Glukhov
c42b05adb4 Fixed --debugger:on option. Removed c_line from termios. 2015-08-12 12:04:26 +03:00
Reimer Behrends
b3455d281b Add popen()/pclose() support to posix.nim 2015-07-01 02:39:45 +02:00
Andrew Yourtchenko
61336b2404 Expose INET6_ADDRSTRLEN. 2015-06-24 01:36:09 +02:00
Andrew Yourtchenko
ec33471aee Update posix.Sockaddr_in6 and posix.Sockaddr_storage, deprecate old T* types. 2015-06-24 01:23:09 +02:00
pdw
1c426c613c lib/posix - Dropped 'T' from types 2015-06-04 13:17:11 +02:00
def
e5a186a419 Fix Termios wrapper 2015-04-24 19:41:12 +02:00
Araq
c2d79a6383 fixes #2466 2015-04-24 12:40:59 +02:00
yglukhov
c2a52a9849 Fixed SIGPIPE on MacOS 2015-04-08 11:24:53 +03:00
Jakob Oesterling
ff75cf5c2c fixes https://github.com/Araq/Nim/issues/2116 2015-04-01 00:12:55 +02:00
Reimer Behrends
f5f89f388d Fixed Tdirent definition for OS X and BSD.
Entries d_type etc. were disabled on architectures other than Linux,
but also used for OS X and BSD in os.nim.
2015-03-22 03:54:19 +01:00
Araq
1681800d3c fixes #2116 2015-03-22 01:38:13 +01:00
def
18dd5e1965 Add some posix dirent documentation 2015-02-24 16:52:01 +01:00
def
1adebdc767 Speed up walkDir significantly
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.
2015-02-24 16:37:54 +01:00
def
c62b204960 Always use 0x40 for POSIX_SPAWN_USEVFORK 2015-02-17 02:33:54 +01:00
Araq
6eb8867f1a fixes #2116 2015-02-13 01:40:29 +01:00
def
5b26c1360b Rename termios template CCEQ to cceq 2015-02-04 19:18:09 +01:00
def
8f18c936c3 Change termios proc capitalization 2015-02-04 11:25:58 +01:00
def
4712c69512 Fix typo 2015-02-04 11:18:24 +01:00
def
3b68d9e93c Add copyright header 2015-02-03 17:51:15 +01:00
def
b594c332ca Add termios wrapper 2015-02-03 17:27:29 +01:00
modk
601b262a8d Fixes parallel build on FreeBSD 2015-01-26 00:06:43 +01:00
def
9a36c17c05 Add workaround for TCC to make POSIX_SPAWN_USEVFORK available 2015-01-06 03:53:21 +01:00
Andre
85c22f3348 ignore signal SIGPIPE on Darwin 2014-12-30 23:39:43 +01:00
def
f52fd8785f Fix some deprecation warnings caused by renames 2014-11-13 21:34:46 +01:00
Araq
adad2d5f4a Merge branch 'devel' into bigbreak
Conflicts:
	lib/impure/db_postgres.nim
	lib/pure/json.nim
	lib/pure/math.nim
	lib/system/atomics.nim
2014-11-03 11:42:36 +01:00
Andreas Rumpf
a0ecfd19be Merge pull request #1448 from def-/posix-math
Add -lm for fesetround and fegetround
2014-11-03 01:58:50 +01:00
Erik O'Leary
aac8de6b4c Fixed FD_SET casing 2014-10-10 22:36:15 -05:00
Araq
7333237be6 'nimfix' improvements; FdSet is TFdSet again 2014-09-08 08:46:35 +02:00
Araq
d7d059a686 more tests green 2014-08-31 17:23:35 +02:00
Araq
fb688d1360 fixed posix.nim 2014-08-30 16:28:34 +02:00
Araq
a68f17a9f7 posix.nim compiles again 2014-08-29 01:28:48 +02:00
Araq
d05df2173b Nimrod renamed to Nim 2014-08-28 09:50:51 +02:00
Araq
dcffbb052a big rename 2014-08-28 01:17:21 +02:00
Araq
df172806ea big rename 2014-08-28 00:24:52 +02:00
Andreas Rumpf
bba644fbd1 Merge pull request #1405 from boydgreenfield/add_mmap_map_populate
Add mmap map populate
2014-08-12 19:50:14 +02:00
def
c0422ae8af Move floating point rounding and exceptions handling to math
(it's C99 as well, not just POSIX)
2014-08-06 02:31:19 +02:00
def
2476ee0cd7 Add -lm for fesetround and fegetround 2014-08-05 20:34:07 +02:00
def
7b9e2881d8 Add "struct" to POSIX flock 2014-07-31 11:28:26 +02:00
Nick Greenfield
a0df72fcdc Only try to import MAP_POPULATE on Linux, define flag as 0 otherwise. 2014-07-23 12:06:13 -07:00
Nick Greenfield
272fd42c97 Add automatic MAP_POPULATE flag for opening read_only (MAP_PRIVATE) and shared (MAP_SHARED) mmap files. 2014-07-23 11:25:21 -07:00
Dominik Picheta
e01c1f1ab3 Fixes missing MSG_NOSIGNAL on Mac OS X. 2014-07-14 19:53:11 +01:00
Charlie Barto
3070264525 Added define check for openBSD around fmtmsg.h stuff, OpenBSD does not actually include this header 2014-05-04 23:48:38 -04:00
Araq
3b69a8d27a New concurrency model: next steps 2014-04-19 22:24:43 +02:00
Dominik Picheta
a097526956 Fixes to asyncio2 on Linux. 2014-03-09 13:49:38 +00:00
Andreas Rumpf
835926e174 Merge pull request #927 from gradha/pr_adds_posix_timegm
Adds posix.timegm(), brother of posix.mktime().
2014-03-03 01:00:44 +01:00
Andreas Rumpf
46967f921a Merge pull request #917 from zielmicha/vfork
osproc: Raise exception if execv fails in child process
2014-02-23 19:49:19 +01:00
Dominik Picheta
3b5825e9bc Implemented selector support for asyncio2. 2014-02-22 17:22:19 +00:00
Grzegorz Adam Hankiewicz
c2b50c0e38 Adds posix.timegm(), brother of posix.mktime(). 2014-02-15 17:50:40 +01:00