Commit Graph

94 Commits

Author SHA1 Message Date
Araq
dcffbb052a big rename 2014-08-28 01:17:21 +02:00
Araq
27869b6c7b big rename 2014-08-28 00:36:14 +02:00
Araq
df172806ea big rename 2014-08-28 00:24:52 +02:00
Araq
2f43fdb837 renamefest 2014-08-23 01:43:49 +02:00
Araq
9d5d3c9fa1 fixes #820 2014-08-13 02:06:21 +02:00
Dominik Picheta
7358fc256f More future debug info. Added new error code to SafeDisconn list. 2014-08-09 20:50:06 +01:00
Charlie
ee0cbbe44c renamed UINT in windows.nim to WINUINT 2014-05-26 23:47:18 -04:00
Clay Sweetser
d43c06d4c5 Manual merge of pull request #1138 2014-05-24 08:58:40 -04:00
Clay Sweetser
46fa465eb4 Merge branch 'Windows' of git://github.com/enurlyx/Nimrod into enurlyx-Windows 2014-05-24 08:54:53 -04:00
Araq
71de04b4ba Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-05-06 00:05:38 +02:00
Araq
4055fd4376 some additions to winlean 2014-05-06 00:04:36 +02:00
enurlyx
a2692f984d Changed COLORREF from int to DWORD (32 bit long), so that it works also on 64bit Windows 2014-05-04 12:49:05 +02:00
Dominik Picheta
24babdedf1 DWORD -> PULONG for POverlapped. 2014-05-03 21:05:45 +01:00
Dominik Picheta
6c4870d812 Get rid unsafe pointer type in GetQueuedCompletionStatus. 2014-04-30 17:38:44 +01:00
Araq
d438ecc246 async might work now reliably 2014-04-30 00:52:58 +02:00
enurlyx
fa961f16d0 1) export UINT
2) Fixed parameter of FillRect   RECT -> var RECT
2014-04-22 19:42:32 +02:00
Andreas Rumpf
23621857bb Merge pull request #1099 from Varriount/os/getFileInfo
Added os.getFileInfo procedure.
2014-04-20 23:40:29 +02:00
Araq
3b69a8d27a New concurrency model: next steps 2014-04-19 22:24:43 +02:00
Clay Sweetser
733b289209 Fixed _get_osfhandle declaration. 2014-04-16 03:35:09 -04:00
Clay Sweetser
79f0c66b4d Completed Linux/Posix implementation of getFileInfo
Moved parts of getFileInfo into a helper template.
2014-04-16 03:35:08 -04:00
Clay Sweetser
37ac424e9a Added Windows implementation of getFileInfo procedures 2014-04-16 03:35:07 -04:00
Dominik Picheta
369d8c57ae Disable async macro code output. Added some WSA error codes to winlean. 2014-04-07 20:46:47 +01:00
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