Commit Graph

64 Commits

Author SHA1 Message Date
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
Araq
a95c0608b9 some fixes for Haiku 2013-09-01 17:29:29 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Dominik Picheta
223b4f45ed Added fsmonitor module. 2012-09-02 23:26:49 +01:00
Dominik Picheta
5310a3044f Many fixes for asynchronous sockets. Asyncio should now work well with buffered and unbuffered plain and ssl sockets. Added asyncio
test to the test suite.
2012-07-22 23:32:49 +01:00
Araq
2900ceae35 changed integer promotion rules; added math.fmod 2012-06-28 08:33:25 +02:00
Zahary Karadjov
2f4ae65917 produce errors on proc types with implicit empty param lists. 2012-04-20 22:32:36 +03:00
Araq
8aa4e46707 implemented incompleteStruct pragma; embedded debugger works with posix module 2012-01-05 00:46:51 +01:00
Araq
4f1b89c30c year 2012 for most copyright headers 2012-01-02 23:07:35 +01:00
Araq
c8dda8cc6f attempt to fix tunidecode test; GC cares for seq->openArray conversions 2011-11-21 01:33:18 +01:00
Araq
c9b67f724d new osproc implementation may work with mac os x 2011-11-18 19:08:07 +01:00
Araq
61792dc7d6 cgen: no type canon for integral types; osproc use posix_spawn instead of fork&exec 2011-11-18 00:29:56 +01:00
dom96
6b4101f82e The sockets module supports non-blocking sockets now. Many other fixes in sockets. Timeout support in scgi. 2011-04-30 13:51:04 +01:00
Araq
07b784373b docgen: module dependencies are now listed 2011-01-16 14:30:31 +01:00
Andreas Rumpf
40ea1d0330 fixed pango/pangoutils new wrappers 2010-02-26 01:26:16 +01:00