Commit Graph

1581 Commits

Author SHA1 Message Date
Dominik Picheta
0370dff8e0 Merge pull request #3378 from jlp765/streamsEx
Streams examples & default newFileStream() file mode
2015-09-27 13:46:04 +01:00
JamesP
8b230ec085 minor fix - remove comments from discard section
so koch test doesn't complain
2015-09-27 16:21:47 +10:00
JamesP
772c25bfe8 fix discard output: section 2015-09-27 15:49:40 +10:00
JamesP
e0707797a5 add test for newFileStream() opening a missing file 2015-09-26 08:34:59 +10:00
Andreas Rumpf
308a0d0a55 Merge pull request #3316 from jlp765/memfilesWinClose
bug fix: close() only unmapViewOfFile when fHandle is valid.
2015-09-24 16:04:42 +02:00
JamesP
63c35a98f4 add memfiles test of create/read/write data 2015-09-24 09:43:31 +10:00
JamesP
48932dbf98 improve discard text 2015-09-24 09:34:44 +10:00
JamesP
7490667578 add memfiles test that closing a closed memFile is ignored (and raises no [OSError]) 2015-09-24 09:23:48 +10:00
Araq
000c413f35 disjoint checker is smarter (and slower) 2015-09-23 21:46:34 +02:00
Araq
f937637a92 fixes #3357 2015-09-23 21:46:33 +02:00
Dominik Picheta
371470e73f Fixes #2889. Merges *tostring tests in tests/system. 2015-09-23 00:04:31 +01:00
Peter Mora
925e7b0ca1 fixing TypelessParam warning in x=>x+1, added test 2015-09-22 18:34:43 +02:00
Araq
fd80a51547 fixes #2594 2015-09-18 12:07:39 +02:00
Araq
c921f30b1d renamed inCompilesContext to compilesContextId; added test case for #3313 2015-09-18 11:29:43 +02:00
Araq
36f68e1650 fixes #3329 2015-09-18 02:24:12 +02:00
Araq
c9a2fa54c7 Merge branch 'devel' into fix_bracket_expr 2015-09-16 11:36:49 +02: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
Andreas Rumpf
fa17707684 Merge pull request #3307 from rogercloud/devel
Fix issue #2245
2015-09-14 17:37:54 +02:00
Araq
a3f791f892 added testcase for #1679 2015-09-14 12:42:22 +02:00
Araq
14354b436f fixes #2599 2015-09-13 23:26:44 +02:00
Araq
bf698fbc2a fixes some regressions 2015-09-12 13:32:51 +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
Dominik Picheta
ac6b21a018 Fixes failing async tests on Linux. 2015-09-11 17:09:13 +01:00
Dominik Picheta
77c2bcf079 Improve asyncdispatch error messages, fix some tests on Windows. 2015-09-11 14:35:42 +01:00
Araq
a92f3bead3 fixes #3195 2015-09-10 11:08:48 +02:00
Araq
ffe51966b9 fixes a critical codegen bug triggered by .async 2015-09-10 10:50:29 +02:00
Roger Shi
58e1068f73 test case for #2245 2015-09-09 21:32:29 +08:00
Araq
d5c5fd425f fixes #3230 2015-09-09 09:39:47 +02:00
Araq
b1a55d83ec added missing test 2015-09-06 02:32:39 +02:00
Araq
dc047931bb fixes #2590; methods now require a .base annotation 2015-09-06 02:31:28 +02:00
Adam Strzelecki
567b7d5a6a tests: Trim .txt files trailing whitespace
via OSX: find . -name '*.txt' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:11:11 +02:00
Adam Strzelecki
e80465dacf tests: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:04:32 +02:00
Andreas Rumpf
c718e0eb2d Merge pull request #3242 from yglukhov/byvar-fix
JS: Fixed passing byvar
2015-08-28 18:28:54 +02:00
Andreas Rumpf
19f58704ee Merge pull request #3234 from petermora/mapAutoAuto
extending metatype matching in sigmatch.nim
2015-08-25 22:21:40 +02:00
Yuriy Glukhov
a66b968d3b Fixed passing byvar 2015-08-25 15:47:34 +03:00
Yuriy Glukhov
2130e9e38f Don't access GCed field in finalizer. Fixes #2305 2015-08-24 15:29:59 +03:00
Araq
dd2a0ec431 cleaned up twchartoutf8 test 2015-08-21 21:40:24 +02:00
Araq
bfd2fd67f9 tuple unpacking works in a non-var/let context 2015-08-21 21:34:14 +02:00
Andreas Rumpf
47919e219b Merge pull request #3205 from fenekku/unittest-work-2
other unittest pull-request
2015-08-21 21:30:10 +02:00
Andreas Rumpf
abccaa15d8 Merge pull request #3231 from jangko/devel
fixed UTF-16 to UTF-8 conversion in widestrs.nim
2015-08-21 21:28:24 +02:00
Peter Mora
6da8c7857e extending metatype matching in sigmatch.nim 2015-08-21 21:15:08 +02:00
Yuriy Glukhov
a5be556a4c Untyped pointers godegen changed. addr expression fixed. 2015-08-21 13:29:25 +03:00
jangko
7c757599f1 fixed UTF-16 to UTF-8 conversion in widestrs.nim
the source of problem for issue #3228
also add test for entire range of valid UTF-16
and test for invalid UTF-16 sequence
2015-08-21 10:43:31 +07:00
Araq
695e2e970e implemented macros.getImpl 2015-08-21 02:34:34 +02:00
jangko
c103eddc73 fixed UTF-16 to UTF-8 conversion in widestrs.nim
the source of problem for issue #3228
also add test for entire range of valid UTF-16
2015-08-20 20:30:14 +07:00
Araq
69b32637b1 implements experimental new config system based on NimScript 2015-08-16 13:41:30 +02:00
Araq
2f721f0d99 'parallel' now requires --experimental mode 2015-08-14 02:19:32 +02:00
Andreas Rumpf
b3abcaf9e8 Merge pull request #3177 from zah/generic-types-in-macros
Generic types in macros
2015-08-14 01:51:25 +02:00
Dominik Picheta
ad245dbd77 Merge pull request #3131 from zachaysan/devel
Create chomp proc and tests
2015-08-13 22:31:30 +01:00