Commit Graph

5256 Commits

Author SHA1 Message Date
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
Araq
03d8467942 Merge branch 'devel' into fix_bracket_expr 2015-09-12 20:42:27 +02:00
Araq
8ef66b973d first attempt to fix 'a[i]' handling in generics 2015-09-12 10:55:28 +02:00
JamesP
88fc415c69 bug fix: close() only unmapViewOfFile() when fHandle is valid.
Added extra test on windows close so if already closed it
doesn't throw an exception.
2015-09-12 14:41:50 +10:00
Andrey Sobolev
a1aa7da376 Merge remote-tracking branch 'nim-lang/devel' into emscripten-support 2015-09-11 19:43:23 +06:00
Dominik Picheta
77c2bcf079 Improve asyncdispatch error messages, fix some tests on Windows. 2015-09-11 14:35:42 +01:00
Dominik Picheta
808253370b Implement strutils.indent 2015-09-11 14:35:25 +01:00
Dominik Picheta
28e3ad945a Reintroduce FutureVar[T] from commit 72b4912c84. 2015-09-11 13:03:59 +01:00
Andrey Sobolev
c16c1b47b8 Merge remote-tracking branch 'nim-lang/devel' into emscripten-support 2015-09-11 17:37:11 +06:00
Andrey Sobolev
9cdfdde344 Support for GC working in Emscripten environment
Support for GC working in Emscripten environment
2015-09-11 17:36:35 +06:00
JamesP
2d1f26302c Example: add extra getGmTime interval addition example 2015-09-10 19:29:26 +10:00
JamesP
f5d55ad012 tests added: toSeconds with local/GM timezones, interval add/sub
with local/GM timezones
2015-09-10 19:21:27 +10:00
JamesP
c122d71e66 bug fix: + and - handle GM and Local time correctly
eg,  getGmTime(getTime()) + initInterval(hours=1) gave incorrect results
2015-09-10 17:38:00 +10:00
JamesP
612cd2161a add examples block to top of times module 2015-09-10 17:29:52 +10:00
Roger Shi
16fe63180f test case for #2367 2015-09-10 15:16:01 +08:00
Andrey Sobolev
6b645c50d5 mmap non PageSize aligned support
mmap non PageSize aligned support
2015-09-10 12:53:36 +06:00
Andreas Rumpf
0c7d52e34c Merge pull request #3274 from yglukhov/seq-insert-js-fix
Fixed seq.insert and seq.delete for js.
2015-09-09 17:32:55 +02:00
Roger Shi
8f9ce5285f fix #2367 2015-09-09 11:40:13 +08:00