Commit Graph

1613 Commits

Author SHA1 Message Date
Andreas Rumpf
050e4815d0 Merge pull request #3314 from haiodo/emscripten-support
Emscripten support
2015-10-07 09:31:47 +02:00
Aman Gupta
391f2fc9b1 initialize new fields to empty values 2015-10-06 16:06:14 -07:00
Aman Gupta
7f5c49e204 copy nimrtl into lib, reset LD_LIBRARY_PATH after use 2015-10-06 15:54:12 -07:00
Aman Gupta
2240fd3f3f add tfile/tline assertions for template expansion file/line 2015-10-06 15:47:07 -07:00
Aman Gupta
eea8d604d0 Merge remote-tracking branch 'origin/devel' into fix-test-failures 2015-10-06 11:06:41 -07:00
Araq
8507f95d68 fixes #2637 2015-10-06 15:51:00 +02:00
Andrey Sobolev
d1b67cb9bb Merge remote-tracking branch 'nim-lang/devel' into emscripten-support 2015-10-06 10:55:52 +06:00
Adam Strzelecki
be991ed413 Rename rawsockets module to nativesockets
This change was done to avoid confusion with TCP/IP raw sockets. Native sockets
module represents handling native system low level socket API in general and is
not just limited anyhow to TCP/IP raw sockets.

A stub lib/deprecated/pure/rawsockets.nim module has been added as
compatibility layer for old code using rawsockets, so this change will not
break existing code.
2015-10-03 19:45:41 +02:00
Aman Gupta
5b9465acf6 fix test failures due to import errors 2015-10-02 18:20:51 -07:00
Aman Gupta
6e7759734e show stderr w/ reExitcodesDiffer 2015-10-02 17:38:48 -07:00
Aman Gupta
59d226221b Merge remote-tracking branch 'origin/devel' into fix-test-failures 2015-10-02 13:38:35 -07:00
Andreas Rumpf
c85fbb6fd4 Merge pull request #3402 from tmm1/exec-processes-after-cb
Add afterRunEvent callback to execProcesses()
2015-10-02 13:21:46 +02:00
Aman Gupta
97c2574e8d fix test failure due to "illegal recursion" error message
FAIL: tillegal_recursion.nim
Test "tests/objects/tillegal_recursion.nim" in category "objects"
Failure: reMsgsDiffer
Expected:
illegal recursion in type 'object'
Gotten:
inheritance only works with non-final objects
2015-10-01 12:25:39 -07:00
Andrey Sobolev
4c53a3a7a5 Merge remote-tracking branch 'nim-lang/devel' into emscripten-support 2015-10-01 22:08:29 +06:00
Dominik Picheta
f8b7a16ad0 Merge pull request #3406 from jlp765/rationals1
Rationals - add checks and tests
2015-10-01 16:19:49 +01:00
JamesP
ce18b85d2c add two test:
zero denominator assert fail,
float type compile failure
2015-10-01 20:32:49 +10:00
Andreas Rumpf
ae9a89dd25 Merge pull request #3394 from nanoant/patch/use-new-filter-prefix
Use new #? filter prefix in various places
2015-10-01 09:12:08 +02:00
Andreas Rumpf
a3550d1314 Merge pull request #3384 from tmm1/bitsize-pragma
Implement bitsize pragma for bitfields
2015-10-01 09:11:17 +02:00
Aman Gupta
82a04051bb fix failure in tests/method/tmapper.nim
FAIL: tmapper.nim
Test "tests/method/tmapper.nim" in category "method"
Failure: reMsgsDiffer
Expected:
invalid declaration order; cannot attach 'step' to method defined here: tmapper.nim(22,7)
Gotten:
invalid declaration order; cannot attach 'step' to method defined here: tests/method/tmapper.nim(22,7)
2015-09-30 20:13:38 -07:00
Aman Gupta
b093c0abd0 show full compiler output with reNimcCrash 2015-09-30 19:32:09 -07:00
Andreas Rumpf
2d2f152e3c Merge pull request #3398 from tmm1/run-single-test
Allow testament/tester to run single file
2015-09-30 21:16:36 +02:00
Araq
5a003532d0 fixes #2473; cleanup of some tests 2015-09-30 21:13:13 +02:00
Aman Gupta
435fbbc943 allow testament/tester to run single file 2015-09-30 12:09:58 -07:00
Aman Gupta
87ab263d52 Merge remote-tracking branch 'origin/devel' into bitsize-pragma 2015-09-30 11:43:59 -07:00
Aman Gupta
8450ee9d59 ensure generated c-code matches 2015-09-30 11:42:50 -07:00
Adam Strzelecki
700b63ad89 Use new #? filter prefix in various places
This silences deprecation warnings and prevent collision with UNIX shebang.
2015-09-30 16:12:31 +02:00
Araq
d80f163384 NimScript: --define works as expected 2015-09-30 11:02:42 +02:00
Aman Gupta
fa404dc532 better assertions for bitfield behavior 2015-09-29 14:53:34 -07:00
Aman Gupta
5e9ce88daf implement bitsize pragma for bitfields 2015-09-28 14:34:36 -07:00
Andrey Sobolev
76a49bfcea Merge remote-tracking branch 'nim-lang/devel' into emscripten-support 2015-09-28 22:21:13 +06:00
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
Andrey Sobolev
30362315a0 Merge remote-tracking branch 'nim-lang/devel' into emscripten-support 2015-09-25 14:05:33 +06: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
Andrey Sobolev
ed103e8e38 Added a test to check how gc works in emscripten.
Test will fail in emscripten and pass in normal environment.
2015-09-23 16:21:00 +06: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