Commit Graph

2583 Commits

Author SHA1 Message Date
Araq
48036fa3d9 fixes #635 2015-10-07 10:03:47 +02:00
Araq
8507f95d68 fixes #2637 2015-10-06 15:51:00 +02:00
Araq
a2c040e3bd added undocumented exportNims pragma for Nimscript support 2015-10-03 23:19:15 +02:00
Dominik Picheta
3fe5731777 Merge pull request #3389 from nanoant/patch/separate-deprecated-modules
Patch/separate deprecated modules
2015-10-03 14:51:43 +01: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
08843c6673 remove echo() from compiler 2015-10-01 13:16:18 -07: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
ded5753292 remove "rerun with --parallelBuild:1" message and show error inline 2015-09-30 19:05:37 -07:00
Araq
5a003532d0 fixes #2473; cleanup of some tests 2015-09-30 21:13:13 +02:00
Andreas Rumpf
55bc5d15c7 Merge pull request #3385 from nanoant/patch/dont-fail-on-unknown-enum-value-to-string
vm: Don't fail on unknown enum position to string
2015-09-30 21:09:17 +02:00
Aman Gupta
87ab263d52 Merge remote-tracking branch 'origin/devel' into bitsize-pragma 2015-09-30 11:43:59 -07:00
Adam Strzelecki
144dc8f8ad Move deprecated modules into lib/deprecated/
This gives clear indication what modules are now deprecated and reduce clutter
in non-deprecated module directories.
2015-09-30 12:26:25 +02:00
Araq
d80f163384 NimScript: --define works as expected 2015-09-30 11:02:42 +02:00
Aman Gupta
e5ba94b1f8 Merge remote-tracking branch 'origin/devel' into bitsize-pragma 2015-09-29 15:38:30 -07:00
Aman Gupta
0679340b52 switch to bitsize:int 2015-09-29 14:39:20 -07:00
Araq
29dac5ed60 Nimscript: the compiler supports a directory wide config.nims file 2015-09-29 21:01:26 +02:00
Araq
1b7d8246c1 NimScript: setCommand takes an optional project filename 2015-09-29 20:44:12 +02:00
Araq
6268bf33a2 fixes #3387 2015-09-29 19:30:46 +02:00
Adam Strzelecki
4be6844756 vm: Don't fail on unknown enum position to string
Previously trying to convert constant of enum type, where this enum type has no
entry with given constant position leaded to "internal error: opConv for enum".

Instead of producing error, now we gracefully convert it to "EnumType position".
2015-09-28 23:34:52 +02:00
Aman Gupta
5e9ce88daf implement bitsize pragma for bitfields 2015-09-28 14:34:36 -07:00
Dominik Picheta
bb7604c06f Improved "Execution of an external program failed" message. 2015-09-27 14:18:03 +01:00
Andreas Rumpf
683e1e8faf Merge pull request #3368 from kirbyfan64/set_crash_fix
Fix #3367
2015-09-24 15:59:30 +02:00
Araq
10a4bb6f4e fixes 3354 2015-09-23 23:30:09 +02:00
Araq
2210060965 fixes #3359 2015-09-23 22:47:24 +02: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
Araq
90d1ad4231 made disjoint checker smarter; fixes regressions 2015-09-23 21:46:32 +02:00
Ryan Gonzalez
a8e547971f Fix #3367 2015-09-23 13:44:45 -05:00
Araq
ba4dd92f45 fixes regression: NimForum compiles again 2015-09-21 15:49:48 +02:00
Araq
c04e17aea3 minor bugfix for transf pass after lambda-lifting 2015-09-21 15:49:47 +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
5b2f54ffa1 fixes #3313 2015-09-18 11:24:16 +02:00
Araq
eb7f514933 fixes #3268 2015-09-18 10:11:37 +02:00
Araq
1c0b815282 fixes #3305; error message will improve with later improvements for concepts 2015-09-18 02:24:13 +02:00
Araq
36f68e1650 fixes #3329 2015-09-18 02:24:12 +02:00
Araq
29a9166966 fixes the most pressing regressions introduced by the new handling of a[i] in the compiler 2015-09-16 15:34:54 +02:00
Araq
c9a2fa54c7 Merge branch 'devel' into fix_bracket_expr 2015-09-16 11:36:49 +02:00
Araq
1251fc76c3 fixes #3212 2015-09-14 20:30:55 +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
Yuriy Glukhov
6ac2ba1223 Uint64 to string in pure nim. array[char] to string fixed in vm. 2015-09-14 20:32:09 +03:00
Andreas Rumpf
fa17707684 Merge pull request #3307 from rogercloud/devel
Fix issue #2245
2015-09-14 17:37:54 +02:00
Araq
f79ec6cdf5 make the compiler less verbose 2015-09-14 15:13:08 +02:00
Yuriy Glukhov
aeff57627b Fixed JS gen for generic array types. 2015-09-14 14:30:08 +03:00
Araq
612cd25d5d usage of NimNode triggers .compileTime context; fixes #1679 2015-09-14 12:41:49 +02:00
Araq
14354b436f fixes #2599 2015-09-13 23:26:44 +02:00
Araq
e01e0a4b40 next steps in binding [] properly 2015-09-13 22:42:21 +02:00
Araq
03d8467942 Merge branch 'devel' into fix_bracket_expr 2015-09-12 20:42:27 +02:00
Araq
c27019f4d9 fixes generic instantations in concepts 2015-09-12 19:40:08 +02:00
Araq
bf698fbc2a fixes some regressions 2015-09-12 13:32:51 +02:00