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
Michał Zieliński
4c09fc110f
osproc: make failed execv an exception (when using fork or clone)
...
startProcessAuxFork creates a pipe, which is used by a child to pass
an error code if execv fails.
2014-02-15 15:09:06 +01:00
Michał Zieliński
cd2bd7fa7b
osproc: use clone with CLONE_VM on Linux for faster process spawning
2014-02-14 15:50:28 +01:00
Dominik Picheta
a3f3efa1ba
Merge branch 'devel' into newasync
2014-02-08 15:59:42 +00:00
Grzegorz Adam Hankiewicz
52d4e07146
Adds utimes() importc to posix module.
2014-02-02 23:28:17 +01:00
Michał Zieliński
ad1a0c51e2
Merge branch 'osproc' into devel
...
Conflicts:
lib/posix/posix.nim
lib/pure/osproc.nim
2014-01-20 13:32:20 +01:00
Araq
286f166304
case consistency for linux
2013-12-29 03:32:46 +01:00
Michał Zieliński
bdb5c4ad35
Introduce poEvalCommand, poUsePath, fix remaining quoting issues.
...
- 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.
2013-12-21 18:46:51 +01:00
Dominik Picheta
471c0aa634
Epoll now works.
2013-10-31 15:07:14 +00:00
Dominik Picheta
526f9da463
Epoll wrapper + selectors module.
2013-10-31 02:45:17 +00:00
Dominik Picheta
8231deffd0
Made TSocketHandle distinct and fixed problems it caused for SSL.
2013-10-23 18:07:00 +01:00
Clay Sweetser
229d83f6c6
Added a TSocketHandle type to winlean.nim and posix.nim
...
Edited sockets.nim and asyncio.nim to use the new TSocketHandle type.
2013-10-15 13:53:44 -04:00