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
Reimer Behrends
250375bdd2
Remove spurious unsigned operations from system/threads.nim.
...
These operations were included before the unsigned module was
incorporated directly into system.nim and subsequently caused
compilation errors with --gc:go due to duplicate definitions.
2015-09-08 19:12:01 +02:00
Reimer Behrends
639b5e0069
Properly register threads with the Boehm GC.
...
In order to be able to scan thread stacks, the Boehm GC needs to know
about newly created threads. We establish the end of the stack by using
GC_call_with_stack_base (this works properly also with the dual-stack
Itanium architecture) and then GC_register_my_thread() to register a
thrad and GC_unregister_my_thread() to unregister it again.
This patch also includes a modification for the refc and markandsweep
collectors to set the stack bottom for thread stacks correctly even if
an optimizer aggressively inlines and optimizes procedures (this is
already being done for the stack of the main thread).
Finally, we use the {.noconv.} pragma for the Boehm GC, as the Boehm
API uses no specific calling convention.
2015-09-08 19:01:06 +02:00
Andreas Rumpf
55e479657a
Merge pull request #3303 from Amrykid/amrykid-name-change
...
Fixed my name.
2015-09-08 11:06:03 +02:00
Araq
5eaf68882e
fixes #3300
2015-09-08 10:37:34 +02:00
Araq
833a9344fa
NimScript: make the compiler shut up about effects it doesn't know about
2015-09-08 10:22:14 +02:00
Araq
6d654f866d
even better docs
2015-09-08 10:22:13 +02:00
Rostyslav Dzinko
bd12b7de96
Added == operator for comparing two Object IDs
2015-09-08 11:16:22 +03:00
Alexander Mitchell-Robinson
564c9f4013
Fixed my name.
2015-09-07 19:51:52 -05:00
Andrey Sobolev
4e57ea9345
Merge remote-tracking branch 'upstream/devel' into improve-xmltree
2015-09-07 21:20:30 +06:00
Andrey Sobolev
a534434056
allow to delete xmlnode childs
2015-09-07 21:19:52 +06:00
Yuriy Glukhov
b3cecddd64
Fixed seq.insert and seq.delete for js.
2015-09-07 18:10:45 +03:00
Yuriy Glukhov
4ef4ad305c
Fixed nimvm in generics.
2015-09-07 13:49:32 +03:00
Araq
a480bebfce
Nimscript: documented; 'exec' now produces output immediately
2015-09-07 12:31:35 +02:00
Araq
adf34082f0
documented NimScript
2015-09-07 12:31:34 +02:00
Andrey Sobolev
f405876b35
add text modification proc
2015-09-07 12:25:53 +06:00
Dominik Picheta
eb4263a0fc
Fixes dom96/jester#45 .
2015-09-06 23:50:42 +01:00
JamesP
0edb04288b
Clean up a line ending
2015-09-06 23:02:28 +10:00
JamesP
9aa9920602
instantRows doco added "the" to improve readability
2015-09-06 22:40:15 +10:00
JamesP
5ae33434f8
fastRows() iterator doco updated (similar to db_mysql) with sqlite specific
...
[Edb] error text
2015-09-06 22:39:23 +10:00
JamesP
81e41dc795
Add example (similar to db_mysql) with changes to table definition
...
and transaction to match sqlite SQL syntax
2015-09-06 22:34:04 +10:00
Araq
d7996a9ede
attempt to support recursions for spawn
2015-09-06 02:40:26 +02:00
Reimer Behrends
4baaea5ad5
Properly initialize the Boehm GC on all platforms.
2015-09-06 01:48:31 +02:00