Commit Graph

9782 Commits

Author SHA1 Message Date
Araq
14354b436f fixes #2599 2015-09-13 23:26:44 +02:00
Araq
e01e0a4b40 next steps in binding [] properly 2015-09-13 22:42:21 +02:00
Dominik Picheta
148bbee05f Added some info about bugfixes to news.txt. 2015-09-12 21:46:14 +01:00
Araq
03d8467942 Merge branch 'devel' into fix_bracket_expr 2015-09-12 20:42:27 +02:00
Araq
c27019f4d9 fixes generic instantations in concepts 2015-09-12 19:40:08 +02:00
Araq
bf698fbc2a fixes some regressions 2015-09-12 13:32:51 +02:00
Araq
5aaf2f0c31 preparations for better handling of 'a[i]' in generics; stmt lists can be lvalues 2015-09-12 11:07:49 +02:00
Araq
565c385824 config cleanup 2015-09-12 11:07:49 +02:00
Araq
1562f74500 implicit return types for iterators are now deprecated 2015-09-12 11:07:48 +02:00
Araq
afc891de65 fixes #1528 2015-09-12 11:07:47 +02:00
Araq
a878550ad1 minor testsuite cleanup 2015-09-12 11:07:47 +02:00
Araq
3959a59e57 documented void context 2015-09-12 11:07:46 +02:00
Araq
8ef66b973d first attempt to fix 'a[i]' handling in generics 2015-09-12 10:55:28 +02:00
Araq
2a797c362a preparations for better handling of 'a[i]' in generics; stmt lists can be lvalues 2015-09-12 10:51:20 +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
Dominik Picheta
ac6b21a018 Fixes failing async tests on Linux. 2015-09-11 17:09:13 +01: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
Dominik Picheta
ae15aa529f Merge pull request #3310 from jlp765/timesExamples
times module examples & bug fix
2015-09-11 11:07:55 +01:00
Araq
f1d1ff50e2 config cleanup 2015-09-10 16:06:09 +02:00
Araq
63cdcb2be1 implicit return types for iterators are now deprecated 2015-09-10 15:57:57 +02:00
Araq
34ab1d3e34 fixes #1528 2015-09-10 13:20:15 +02:00
Araq
31bbc24462 minor testsuite cleanup 2015-09-10 13:19:13 +02:00
Araq
bc725eaa13 documented void context 2015-09-10 13:18:11 +02:00
Araq
051e418129 fixes Nim's bigbang regression 2015-09-10 12:20:02 +02: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
Araq
a92f3bead3 fixes #3195 2015-09-10 11:08:48 +02:00
Araq
d7a472743b fixes #2559 2015-09-10 10:50:29 +02:00
Araq
ffe51966b9 fixes a critical codegen bug triggered by .async 2015-09-10 10:50:29 +02: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
58e1068f73 test case for #2245 2015-09-09 21:32:29 +08:00
Araq
ca9c1968d8 fixes typo 2015-09-09 09:39:48 +02:00
Araq
d5c5fd425f fixes #3230 2015-09-09 09:39:47 +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
9deab06c1b Include Boehm GC in garbage collection tests. 2015-09-08 19:29:29 +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
Roger Shi
6b8bd2bbb7 Fix issue #2245 2015-09-08 23:32:53 +08: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
f1a17990be minor documentation cleanups 2015-09-08 10:22:16 +02:00