Commit Graph

10872 Commits

Author SHA1 Message Date
Andreas Rumpf
d66a920447 fixes #5846 2017-06-29 18:16:00 +02:00
Andreas Rumpf
3993718335 JS codegen: make 'echo' use console.log unless you define -d:nimOldEcho 2017-06-28 16:18:19 +02:00
Araq
5334fd4533 fixes #6021! 2017-06-27 15:34:42 +02:00
Eugene Kabanov
907c488a61 One more attempt to fix tioselectors.nim test (#6020) 2017-06-27 12:14:53 +02:00
Yuriy Glukhov
0345238d6e Added moveDir (#6015) 2017-06-27 10:09:41 +02:00
Yuriy Glukhov
baf685461b Fixes #5946 (#6017) 2017-06-26 21:31:56 +02:00
Andreas Rumpf
326e8fdc2f JS gen: fixes regression 2017-06-26 08:49:52 +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
Euan T
3a2ab81df1 Fix #6010 documenting subtracting time interval (#6012) 2017-06-22 13:52:13 +02:00
Dan
f682bb6de0 Update pragmas.txt (#6006)
Added more info on how the format strings work for codegenDecl
2017-06-21 15:36:50 +02:00
def
245a1fe8d7 Minor fixes for makefile.tmpl 2017-06-20 21:33:49 +02:00
Dennis Felsing
fd5ddab581 Merge pull request #5830 from jcowgill/makefile-indentation
makefile.tmpl: fix error handling and cleanups
2017-06-20 21:31:17 +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
dea6d8dd94 add a useful helper for debugging typeRel problems 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
Zahary Karadjov
30ccadfe4c fix #5890 2017-06-20 11:29:42 +02:00
Andreas Rumpf
4f2b69d676 Merge branch 'yglukhov-fix-5995' into devel 2017-06-20 10:47:41 +02:00
Andreas Rumpf
1c8a50797a Merge branch 'fix-5995' of https://github.com/yglukhov/Nim into yglukhov-fix-5995 2017-06-20 10:44:03 +02:00
Andreas Rumpf
0fbca73e71 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-06-19 17:43:18 +02:00
Andreas Rumpf
8db37455dd fixes withRegion for --gc:stack 2017-06-19 17:43:12 +02:00
Dominik Picheta
9d4aa03d7a Merge pull request #5998 from TiberiumN/patch-2
Add intel compiler support to times module
2017-06-17 23:34:03 +01:00
Daniil Yarancev
3b0dba7a75 Update times.nim 2017-06-18 01:28:48 +03:00
Yuriy Glukhov
58eae1171d Fixes #5995 2017-06-18 00:57:05 +03:00
Araq
d947753523 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-06-16 01:48:35 +02:00
Araq
c3b0eb5df7 added logic to the M&S GC to detect logical leaks 2017-06-16 01:48:23 +02:00
John Novak
17b55f9b29 Add sgn() function to the math module (#5971) 2017-06-15 21:00:18 +02:00
Markus F.X.J. Oberhumer
a0f39e0ab4 Ascii character code 127 (DEL) is not printable and must be quoted. (#5984)
This is a follow-up to #5823.
2017-06-15 20:42:23 +02:00