Commit Graph
72 Commits
Author SHA1 Message Date
Dominik Picheta d97a397139 Fixed tasyncawait on Windows.
Implicit registration of an fd now only occurs when a new socket is
created (in socket() or accept()). This makes the implementation much
simpler, changes to the linux version will follow.
2014-03-12 20:42:36 +00:00
Dominik Picheta 728be67afb Resolved conflict. 2014-02-09 21:05:02 +00:00
Araq e478374e0d capturing of an iterator works better 2014-02-09 21:47:46 +01:00
Dominik Picheta eedf51e9d1 Added new sockets modules: asyncio2, net, and sockets2. 2014-02-08 16:08:03 +00:00
Araq 8215a32edd case consistency for -d:useWinAnsi 2014-02-05 23:46:55 +01:00
Araq 7196c7637e bootstraps again 2014-02-02 10:07:29 +01:00
Clay Sweetser 7cd5e79464 Added symlink procs 2014-02-01 20:56:34 -05:00
Araq 5073914b86 unittest module works again 2014-01-18 00:58:59 +01:00
Araq 438703f59e case consistency: next steps 2013-12-29 01:13:51 +01:00
Araq 92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Araq a427648c48 case consistency part 2 2013-12-27 16:35:21 +01:00
Araq 2df9b442c6 case consistency part 1 2013-12-27 15:48:53 +01:00
Clay Sweetser 9de92522a6 Further fixes (stupid kdiff automerge) 2013-12-18 16:04:43 -05:00
Grzegorz Adam Hankiewicz 8468e2af3a Revert "removed windows". Refs #698.
This reverts commit 5ab3d66144.
2013-12-09 18:28:11 +01:00
fowlmouth 5ab3d66144 removed windows 2013-12-03 00:14:20 -06:00
Dominik Picheta 78123520a9 Implemented boolean socket options.
Added reuseAddr for httpserver and scgi.
2013-10-30 16:40:03 +00:00
Dominik Picheta f5023ac544 Fixed sockets on Win32. 2013-10-23 21:07:26 +01:00
Dominik Picheta f695bb0b6f Fixed socket compilation problems on Windows. 2013-10-23 18:30:03 +01: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
Dominik Picheta bacb20a379 Deprecated OSError, and modified it to require an explicit OS error code.
The deprecated functions include the OSError and OSErrorMsg, the name did not change however the signature of the new functions did. They now require a TOSErrorCode value be passed to them. This value can be retrieved using OSLastError. The reason this was done is because on Windows any win api call can reset the last error code to 0, this change allows the user to immediately grab the error code and worry about the string representation later if needs be.
2013-06-25 20:10:28 +01:00
Araq baf89e3d66 GC'ed wide strings for windows 2013-05-20 02:17:24 +02:00
Grzegorz Adam Hankiewicz 72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Araq e80af878b9 bugfix: typo in unsigned.nim; fixes #234 2012-10-20 18:48:28 +02:00
Dominik Picheta 8dd1a5a181 Sockets module should compile again on Windows. Fixed asyncio not compiling. 2012-08-12 20:25:30 +01:00
Dominik Picheta 40ae258e7e Some improvements to the sockets module. 2012-07-25 19:55:52 +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 4f582da27f make tests green again 2012-07-17 01:27:25 +02:00
Araq 795afb0021 made tests green again 2012-07-09 00:54:46 +02:00
Araq 4fbba0a65a changed integer promotion rules; breaks bootstrapping and lots of code 2012-07-08 21:03:47 +02:00
Araq 8ef48a34e5 fixes #150; next steps for proper unsigned support 2012-07-03 00:59:36 +02:00
Araq 00feaa2530 fixes #142 2012-06-20 14:43:03 +02:00
Zahary Karadjov b11fe5d0b4 more uint related fixes 2012-06-14 17:33:00 +03:00
Araq 85ac5f94f1 made tests green again 2012-05-11 00:11:17 +02:00
Araq b9f99565e9 added new OpenGL wrapper 2012-04-04 01:40:39 +02:00
Araq ff4a69b624 win64 is a supported target; bugfix: nimrod c -r on windows; stdlib uses wide char versions of the WinAPI 2012-03-04 21:44:56 +01:00
dom96 b298b07567 Added asyncio module; irc, scgi and the ftpclient modules work with it. Added (de)allocCStringArray. Many async sockets fixes. 2012-01-22 16:21:05 +00:00
Araq 743182afd7 windows module should now compile for all CPUs 2011-12-31 10:32:12 +01:00
Zahary Karadjov 841d6b6aa9 fixed some recently introduced compilation errors in the standard library 2011-12-13 22:52:13 +02:00
Zahary Karadjov 80319ccfb0 windows.nim compiles again 2011-12-13 01:00:17 +02:00
Zahary Karadjov 0e609d2101 New implementation for os.sameFile on Windows
Hard-links on Windows are now treated just as they are on POSIX.
The new implementation is faster than the previous, but still it's quite
slower than fstat (use with caution).
2011-12-07 00:53:27 +02:00
Araq dc08a033d9 memfiles now uses winlean; changed the interface to raise EOS 2011-11-05 12:16:49 +01:00
Zahary Karadjov 2f34e17011 logical typo in the previous commit 2011-11-04 14:50:11 +02:00
Zahary Karadjov 4a436120bd memory-mapped files for posix and windows 2011-11-04 03:49:55 +02:00
Zahary Karadjov b7e8daf65d libuv working on windows too
Added: vcc compilation flags for proper debug symbol generation
2011-10-12 22:40:01 +03:00
dom96 0db6f3c00f select() for processes; copyDir() for os. 2011-05-07 23:17:10 +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 62b4cc6c02 more fixes for dy(n)lib typo; fixes #15 2011-03-08 22:45:57 +01:00
Araq 765366c1f3 version 0.8.10 2010-10-21 00:12:14 +02:00
Andreas Rumpf 38257af9f6 windows.nim compiles again; thanks for fucking it up 2010-08-12 07:38:31 +02:00