Commit Graph

2382 Commits

Author SHA1 Message Date
Dominik Picheta
ccbc09fb0b Merge pull request #6047 from euantorano/patch-1
Wait for reads to finish before reading the result
2017-07-11 19:19:19 +01:00
Andreas Rumpf
2ad9a16e0a fixes anon procs created by macros 2017-07-11 18:07:34 +02:00
Andreas Rumpf
5932ad9ae8 fixes a JS codegen regression 2017-07-10 16:40:23 +02:00
Euan T
7e4ca9a871 Update test header
Signed-off-by: Euan T <euantorano@gmail.com>
2017-07-10 09:23:45 +01:00
Euan Torano
3f3853945d Adding test for recvline
Signed-off-by: Euan Torano <euantorano@gmail.com>
2017-07-09 20:50:47 +01:00
Andreas Rumpf
674db58a24 fixes #5608 2017-07-09 12:03:50 +02:00
Araq
4de989d1c5 fixes #6035 2017-06-30 12:01:51 +02:00
Andreas Rumpf
d9d61fbeb4 fixes #5517 2017-06-30 00:43:19 +02:00
Andreas Rumpf
ad64b66df1 closes #5379 2017-06-29 20:41:48 +02:00
Andreas Rumpf
ac63a99892 fixes #5974 2017-06-29 20:25:42 +02:00
Andreas Rumpf
5d6c2f89de fixes #4703 2017-06-29 18:37:53 +02:00
Eugene Kabanov
907c488a61 One more attempt to fix tioselectors.nim test (#6020) 2017-06-27 12:14:53 +02:00
Andreas Rumpf
a8a5d44e5d make JS tests green on OSX on my local machine; XXX needs further investigations 2017-06-26 08:49:52 +02:00
Fabian Keller
a6e0494a6f fixes #5966 2017-06-20 12:11:09 +02:00
Fabian Keller
62ffac25dc added test case for #1252 2017-06-20 11:53:32 +02:00
Zahary Karadjov
90e82f8ecf Fix #5084 2017-06-20 11:29:42 +02:00
Zahary Karadjov
7db883e4d3 make some tests green again 2017-06-20 11:29:42 +02:00
Zahary Karadjov
07d50cedf0 Fix #5983 2017-06-20 11:29:42 +02:00
Zahary Karadjov
21ce7b2af4 Fix #5888 2017-06-20 11:29:42 +02:00
Zahary Karadjov
a6006e56a7 Fix #4737 2017-06-20 11:29:42 +02:00
Zahary Karadjov
16eb4b1fee Fix #5127 2017-06-20 11:29:42 +02:00
Zahary Karadjov
8f4b374327 Fix #4020; Better handling of templates within concepts 2017-06-20 11:29:42 +02:00
Zahary Karadjov
b199c5af4e fix #5968 2017-06-20 11:29:42 +02:00
Zahary Karadjov
24966e006a fix #1082 2017-06-20 11:29:42 +02:00
Zahary Karadjov
36c4f0a89c close #1051 2017-06-20 11:29:42 +02:00
Zahary Karadjov
b101a59734 close #3152; closed via f663ca7 2017-06-20 11:29:42 +02:00
Zahary Karadjov
6f935598f4 close #3153 2017-06-20 11:29:42 +02:00
Zahary Karadjov
367d232351 fix #1017; fix #3309 2017-06-20 11:29:42 +02:00
Zahary Karadjov
0149e418be close #3784 2017-06-20 11:29:42 +02:00
Zahary Karadjov
92ee2ee4ce close #4524 2017-06-20 11:29:42 +02:00
Zahary Karadjov
ba61e7e3ac fix #2730; fix #4880 2017-06-20 11:29:42 +02:00
Zahary Karadjov
9c6fe59b55 fix #5017; fix #5893 2017-06-20 11:29:42 +02:00
Zahary Karadjov
491162d3c8 close #5106 2017-06-20 11:29:42 +02:00
Zahary Karadjov
9edf66df85 close #5756 2017-06-20 11:29:42 +02:00
Zahary Karadjov
f713e730c8 fix #5864 2017-06-20 11:29:42 +02:00
Zahary Karadjov
268b918150 Fix thardforward 2017-06-20 11:29:42 +02:00
Zahary Karadjov
f0999de9dc Fix #5962
During the instantiation of a generic type A, some other generic
type B may be instantiated multiple times with different parameters.
We can think about each instantiation as a function call that should
temporary bind the parameter names to concrete types. The problem
with the existing implementation in semtypinst was that it was
performing this binding within a shared global table. In this sense,
it was executing the code as a programming language featuring only
global variables. In such a language, re-entrant functions cannot be
defined properly and hence this was leading to problems with similar
types. The solution is simple - just like we need to introduce stack
frames to handle re-entrant functions, we introduce a stack of type
bindings that are pushed and popped during the generic instantiations.
2017-06-20 11:29:42 +02:00
Zahary Karadjov
cd02561368 introduce a pre-processing pass for the concept bodies
fixes #4982
fixes #3805

close #3414
2017-06-20 11:29:42 +02:00
Yuriy Glukhov
58eae1171d Fixes #5995 2017-06-18 00:57:05 +03:00
Varriount
a939a4b3a4 Merge pull request #5952 from Parashurama/fix_parseopt
Fix parseopt custom arguments
2017-06-13 04:11:58 -04:00
Araq
280941aca6 make tests green again 2017-06-09 13:34:45 +02:00
Araq
4033929127 fixes tproctypecache_falsepositive.nim test case 2017-06-08 18:35:37 +02:00
Parashurama
bbf9ef606d restrict casting for closure. (#5948); fixes #5742
* restrict casting for closure.

This commit forbid casting a closure to anything other than another
closure. use rawEnv/rawProc to access underlaying pointers.

* better error message for closure cast
* fixes #5742
2017-06-07 08:52:50 +02:00
Parashurama
27e2a34340 fixes parseopt/parseopt2 custom cmdline args. 2017-06-06 13:50:26 +02:00
Parashurama
f603e1b268 fix logical right shift in VM. (#5916) 2017-06-05 17:25:04 +02:00
Parashurama
cd51628f57 fix orderedtable enlarge proc. (#5937)
This fixes issue #5917
2017-06-05 13:16:30 +02:00
Andreas Rumpf
55c244400d .partial object field names are left unmangled; mangling should be done by the macro instead 2017-06-05 10:30:24 +02:00
Andreas Rumpf
c59bc0cc18 first steps to allow easy functors via macros 2017-06-04 11:17:41 +02:00
Andreas Rumpf
42c9bb3ace fixes #5933 2017-06-03 21:08:32 +02:00
zah
39aef12446 review and merge zahary's work (#5849)
* proper indentation for the generated JS code
* improved dead-code elimination for JavaScript
* test the JS dead-code elimination

A new test spec has been added - "maxcodesize". It specifies the
maximum size of the generated code in bytes.
2017-06-03 12:45:10 +02:00