Commit Graph

68 Commits

Author SHA1 Message Date
Araq
fde16e6c3e fixes os.moveFile on Windows 2015-02-13 01:39:20 +01:00
Flaviu Tamas
b2140be31f Fix cross to windows compilation on linux
`Winsock2.h` should be all lowercase
2014-12-30 15:42:18 -05:00
Erik O'Leary
aac8de6b4c Fixed FD_SET casing 2014-10-10 22:36:15 -05:00
Araq
490371977e some improvements for nimfix 2014-09-09 21:31:34 +02:00
Araq
7333237be6 'nimfix' improvements; FdSet is TFdSet again 2014-09-08 08:46:35 +02:00
Dominik Picheta
0f3025e320 Added Windows asyncfile implementation. 2014-09-05 17:36:16 +01:00
Dominik Picheta
8446d51a6a Winlean and threads case sensitivity fixes. 2014-08-30 12:57:04 +01: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
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
Dominik Picheta
7358fc256f More future debug info. Added new error code to SafeDisconn list. 2014-08-09 20:50:06 +01: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
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
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
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
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
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
8ef48a34e5 fixes #150; next steps for proper unsigned support 2012-07-03 00:59:36 +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