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
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
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
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
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