Commit Graph

8623 Commits

Author SHA1 Message Date
Aman Gupta
8edbef346a raise with error message 2015-09-23 17:15:13 -07:00
JamesP
305766a9fa Bug fix: change non-fmRead file mode to set GENERIC_READ or GENERIC_WRITE
instead of GENERIC_ALL
which on 64bit windows rasied an [OSError] exception
2015-09-24 09:04:55 +10:00
JamesP
bdc1c5ee84 change type of windows handles to Handle 2015-09-24 09:03:03 +10:00
Jakob Oesterling
d7656ceec7 added examples in documenation for len dec inc incl excl 2015-09-24 00:34:03 +02:00
Dominik Picheta
0906bf5d73 Merge pull request #3321 from Nycto/devel
Extend options module
2015-09-23 21:19:03 +01:00
Araq
7c012cb797 fixes #3356 2015-09-23 21:46:37 +02:00
Araq
ec357a3edd deleted graphics module; it's a Nimble package now 2015-09-23 21:46:36 +02:00
Aman Gupta
4a715b8e08 disable SSLv2 2015-09-23 12:03:14 -07:00
Nycto
6fa01e3490 Extend option functionality 2015-09-23 08:52:51 -07:00
Andrey Sobolev
df65082370 Merge remote-tracking branch 'nim-lang/devel' into emscripten-support 2015-09-23 10:16:36 +06:00
Aman Gupta
5f95c4e055 avoid referencing undefined SSLv2_method on mac osx 2015-09-22 19:54:15 -07:00
Dominik Picheta
371470e73f Fixes #2889. Merges *tostring tests in tests/system. 2015-09-23 00:04:31 +01:00
JamesP
7656fae456 fix wasOpened reference and set to false on close 2015-09-23 06:20:19 +10:00
Peter Mora
925e7b0ca1 fixing TypelessParam warning in x=>x+1, added test 2015-09-22 18:34:43 +02:00
JamesP
d23c697044 Add wasOpened flag for windows, so not attempt close when unopened 2015-09-22 16:16:51 +10:00
JamesP
b6b2750327 Undo zero check 2015-09-22 15:54:44 +10:00
Andrey Sobolev
7321fb0c18 Merge remote-tracking branch 'nim-lang/devel' into emscripten-support 2015-09-21 21:41:40 +06:00
Araq
73279aba39 added unicode.lastRun, unicode.graphemeLen 2015-09-21 15:49:46 +02:00
Andrey Sobolev
113de6ab69 Merge remote-tracking branch 'nim-lang/devel' into emscripten-support 2015-09-21 12:27:10 +06:00
Aman Gupta
cd40137d1e mark code-blocks in 2d/3d docs 2015-09-20 18:24:49 -07:00
Aman Gupta
50b4406694 s/acces/access/g 2015-09-20 18:24:38 -07:00
Dominik Picheta
492f5eb704 Fixes asyncnet.recvLine. Fixes #3346. 2015-09-19 14:01:45 +01:00
Andrey Sobolev
537aca327a Merge remote-tracking branch 'nim-lang/devel' into emscripten-support 2015-09-18 20:44:26 +06:00
Reimer Behrends
9ea99dbf36 Add option to disable munmap() use in the allocator.
When compiling with '-d:nimAllocNoUnmap', the allocator will not
attempt to return large chunks to the OS. For certain allocation
behaviors, this can be a significant speedup.
2015-09-18 14:05:04 +02:00
Dominik Picheta
d93c612067 Merge pull request #3344 from tulayang/devel
Fix proc closeSocket (posix): bad file descriptor error
2015-09-18 12:20:08 +01:00
Araq
80bdb2f3b2 fixes #3343 2015-09-18 12:30:07 +02:00
wt
4231574111 Fix proc closeSocket (posix): bad file descriptor error 2015-09-18 18:26:15 +08:00
Andrey Sobolev
02bf3ba6d7 Merge remote-tracking branch 'nim-lang/devel' into emscripten-support 2015-09-18 11:15:16 +06:00
Araq
a4a5003b7d fixes #3312 2015-09-18 02:24:13 +02:00
Dominik Picheta
432884861e Merge pull request #3337 from yglukhov/json-coerce-int-to-float
Transparently coerce int to float in JsonNode.getFNum
2015-09-17 23:09:00 +01:00
Dominik Picheta
0f933bbf55 Deprecated ftpclient module. 2015-09-17 23:05:16 +01:00
Dominik Picheta
5998f53280 Added examples to asyncftpclient module. 2015-09-17 22:45:30 +01:00
Dominik Picheta
6b002e805e Added examples and more docs to base64 module. 2015-09-17 20:44:16 +01:00
Yuriy Glukhov
721324380d Transparently coerce int to float in JsonNode.getFNum 2015-09-17 17:54:01 +03:00
Rostyslav Dzinko
bfe84d9c8b Added missing 412 - 417 http codes which are standard according to rfc2616 which is HTTP/1.1 standard. 2015-09-17 16:01:11 +03:00
Rostyslav Dzinko
e02e8968c4 Moved teardown call to try block for namespace access reasons 2015-09-17 13:11:51 +03:00
Andrey Sobolev
5859fcbabb Merge remote-tracking branch 'nim-lang/devel' into emscripten-support 2015-09-16 22:01:18 +06:00
Dominik Picheta
671e5db21e Merge pull request #3331 from rgv151/patch-5
wait's input is nullable
2015-09-16 16:38:40 +01:00
Araq
29a9166966 fixes the most pressing regressions introduced by the new handling of a[i] in the compiler 2015-09-16 15:34:54 +02:00
Bruce Doan
2ffb385611 wait's input is nullable, and it is discardable 2015-09-16 17:39:14 +07:00
Araq
c9a2fa54c7 Merge branch 'devel' into fix_bracket_expr 2015-09-16 11:36:49 +02:00
Dominik Picheta
4da5e47414 Implements getPeerAddr/getPeerName on Windows and adds IDX. 2015-09-15 10:37:16 +01:00
Dominik Picheta
01c99ff258 Merge branch 'socket-address' of https://github.com/rbehrends/Nim into rbehrends-socket-address 2015-09-15 09:20:45 +01:00
Andrey Sobolev
bbf77e1d23 Merge remote-tracking branch 'nim-lang/devel' into emscripten-support 2015-09-15 14:13:25 +06:00
Araq
0aa908c86c clarify the meaning of the 'auto' metatype; 'auto' is now bind-multiple; fixes #3224 2015-09-14 20:25:52 +02:00
Yuriy Glukhov
6ac2ba1223 Uint64 to string in pure nim. array[char] to string fixed in vm. 2015-09-14 20:32:09 +03:00
Andreas Rumpf
fa17707684 Merge pull request #3307 from rogercloud/devel
Fix issue #2245
2015-09-14 17:37:54 +02:00
Andrey Sobolev
3be1267cbd Change TAddress to ByteAddress 2015-09-14 11:51:21 +06:00
Andrey Sobolev
2f6dc8c47f Merge remote-tracking branch 'nim-lang/devel' into emscripten-support 2015-09-14 11:50:39 +06:00
Reimer Behrends
b9df1323f7 Provide access to getsockname()/getpeername().
This patch implements procedures getLocalAddr() and getPeerAddr() that
return the results of getsockname() and getpeername(), respectively, as
pairs (string, Port) for both Socket and SockedHandle.
2015-09-14 01:42:46 +02:00