Commit Graph

154 Commits

Author SHA1 Message Date
Rokas Kupstys
a3b8bf300d Added fiber API to winlean.nim 2017-02-20 17:24:19 +02:00
Ruslan Mustakov
fb8168d338 Fix Windows accept() to fail future instead of raising
Resolves: #5279
2017-02-01 18:18:44 +07:00
Eugene Kabanov
e17969c03f Fix declaration of inet_ntop to be GCSafe. (#5266) 2017-01-23 16:58:00 +01:00
Loris Pederiva
f237f7f1cf Make SockAddr.sa_data public
Make SockAddr.sa_data public, coherently with its Posix counterpart.
2017-01-11 12:01:27 +01:00
Araq
5182be6204 winlean: get rid of deprecation warning 2017-01-03 17:06:31 +01:00
Araq
08913db924 added registry.nim to the stdlib 2016-10-09 02:01:28 +02:00
Araq
6e6b90278c koch supports the finish command for smooth installations on Windows 2016-10-09 01:59:50 +02:00
Araq
6a1b8e691f fixes #4764, fixes #4731, fixes #4724 2016-09-14 19:59:32 +02:00
Andreas Rumpf
0834cd63d9 prepare Nim codebase for upcoming parser changes 2016-07-15 12:56:03 +02:00
miere43
8314412b99 Added stdcall pragma to WINAPI methods. 2016-06-26 22:18:14 +03:00
miere43
57bd50a916 Removed INPUT_KEY_RECORD 2016-06-26 16:01:37 +03:00
miere43
dd7a24d8cc Implemented terminal.getch() for Windows 2016-06-23 23:22:38 +03:00
cheatfate
b53f13cbe7 New version, without any piece of code duplication. 2016-06-17 13:37:42 +03:00
cheatfate
43329c5909 Introduce addRead/addWrite for Windows IOCP. 2016-06-12 15:09:30 +03:00
Andreas Rumpf
6556ec2ce0 fixes Windows builds 2016-05-30 10:52:47 +02:00
Stephane Fontaine
f12fc1140d Remove spurious semicolon in type definition 2016-05-19 19:58:17 +04:00
cheatfate
6fa6fdeb34 Resolve bugs based on unreliable bytesReceived value. 2016-05-12 21:11:42 +03:00
cheatfate
2a2a3d6c39 CompletionKey parameter for functions CreateIoCompletionPort,
GetQueuedCompletionStatus must be 64bit size on amd64 and 32bit size on x86.
2016-04-19 03:04:44 +03:00
cheatfate
5d96faf78c Correct getOverlappedResult() definition 2016-04-13 11:02:46 +03:00
Araq
db2b215658 resolved merge conflicts 2016-03-29 15:31:10 +02:00
Josep Sanjuas
5a582a0d9c Define ports as uint16s to fix #3484 2016-03-27 22:56:44 +02:00
Araq
8bf14b12a9 proper indentation 2016-03-18 18:56:01 +01:00
Araq
aa47302866 get rid of compiler warning 2016-03-18 18:53:17 +01:00
gmpreussner
9920de0147 Renamed local variable to avoid compiler warning. 2016-03-16 11:34:09 -04:00
cheatfate
901b7bdaf2 Resolve "redifintion" errors, when using Microsoft Compiler and Visual Studio headers described in Issue #3879 2016-02-18 18:17:01 +02:00
def
867285c5a9 Rename THANDLE to Handle to fix deprecation warnings 2016-02-11 22:45:03 +01:00
Anatoly Galiulin
477e3b0e20 Fixed issue 3539, added test 2016-01-28 16:56:06 +06:00
Araq
c977daf9d8 added poDemon flag for process management 2015-10-19 16:09:34 +02:00
Araq
2e413d3186 fixes #3383 2015-10-06 16:15:51 +02:00
Araq
4e44ded2be winlean additions; preparing for osproc patch to use named pipes 2015-09-29 19:30:45 +02:00
Dominik Picheta
4da5e47414 Implements getPeerAddr/getPeerName on Windows and adds IDX. 2015-09-15 10:37:16 +01:00
Dominik Picheta
6109e6a999 Fixes net/asyncdispatch on Windows. Ref #2976. Fixes #2996. 2015-06-25 22:38:17 +01:00
Araq
87f65f5e72 preparations for more Nimble packages; clear licensing; fixes #2949 2015-06-20 23:24:21 +02:00
Dominik Picheta
ed46ca6d57 Add WSAEADDRINUSE to winlean. 2015-06-04 23:23:41 +01:00
Araq
ccb9ae2d52 stdlib: don't use deprecated symbols 2015-06-04 13:18:42 +02:00
Perelandric
2124952db3 Added line breaks to long 'deprecated' pragmas 2015-06-04 13:18:40 +02:00
pdw
9e771ca707 lib/windows - Dropped 'T' from types 2015-06-04 13:18:38 +02:00
Andreas Rumpf
0b184f2584 Merge pull request #2608 from chrisheller/devel
Add procs for VirtualAllocEx and VirtualFreeEx in windows.nim
2015-05-08 02:20:14 +02:00
Araq
0775402f55 fixes #2651 2015-05-04 16:47:40 +02:00
Chris Heller
2aa61034ba Add deprecated versions of procs in windows.nim that had DWORD parameters converted to SIZE_T 2015-05-01 23:54:28 -07:00
Chris Heller
fcb4d5a44a Update VirtualLock/Unlock to use SIZE_T instead of DWORD for sizes 2015-04-28 10:19:44 -07:00
Chris Heller
26115027bf Update the GlobalAlloc/ReAlloc and LocalAlloc/ReAlloc procs to use SIZE_T instead of DWORD. 2015-04-28 10:12:06 -07:00
Chris Heller
ef46f75572 Update Heap* procs in windows.nim that were using DWORD sizes to use SIZE_T 2015-04-28 10:00:10 -07:00
Chris Heller
c750900286 Update other Virtual* procs that were using dwSize: DWORD to use SIZE_T 2015-04-28 09:53:01 -07:00
Chris Heller
ef887d5d90 Add procs for VirtualAllocEx and VirtualFreeEx in windows.nim 2015-04-27 21:02:48 -07:00
Chris Heller
ab58e844da Change dwSize parameter in VirtualAlloc/Free procs to use SIZE_T instead of DWORD to match MSDN 2015-04-27 21:00:07 -07:00
Araq
f98b4d5c0f windows.nim is gcsafe 2015-04-04 01:19:30 +02:00
Jonathan Edwards
8e0e7cb818 Corrected SYSTEM_INFO structure to match pointer type on 64-bit systems 2015-02-21 13:05:26 -05:00
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