Commit Graph

3778 Commits

Author SHA1 Message Date
BigEpsilon
e2af486434 Add sections (type, var, let, const, using) support for reorder pragma (#6326) 2017-10-28 11:33:35 +02:00
Xiao-Yong
616db85c61 Let the environment variable NIMBLE_DIR overrides nimblepath in cfg file (#6542)
* Let the environment variable NIMBLE_DIR overrides nimblepath in cfg file

If the length of NIMBLE_DIR is larger than zero, the nimblepath
will be set to $NIMBLE_DIR/pkgs
2017-10-28 09:38:31 +02:00
Araq
9c00f6decd fixes #6526 2017-10-27 20:55:36 +02:00
Andreas Rumpf
129a599cd6 fixes #6422 2017-10-26 12:23:37 +02:00
Araq
b2a2522d2d make tests green again 2017-10-26 00:55:23 +02:00
Araq
3aa7c2232e destructors: supportsCopyMem finally works for recursive types 2017-10-26 00:55:23 +02:00
Araq
4f2b79a380 topttree destructor finally works 2017-10-26 00:55:23 +02:00
Araq
b407f083ba destructors: work in progress 2017-10-26 00:55:23 +02:00
Araq
826ddbf809 ast.nim: spacing 2017-10-25 17:37:03 +02:00
Araq
5258447e01 concepts: make codegen aware of 'tyInferred' 2017-10-25 17:37:03 +02:00
Araq
9df766491d default '=sink' and '=destroy' cannot be templates 2017-10-25 17:37:03 +02:00
Emery Hemingway
2ca7b703fb No implicit quit for Genode (#6515) 2017-10-25 13:50:55 +02:00
Andreas Rumpf
1a0032eb68 added broken tbintree test 2017-10-19 21:03:20 +02:00
Andreas Rumpf
8be60dc6bd allow 'block' and 'nkState' after return for easier state machine generation 2017-10-19 15:51:36 +02:00
Andreas Rumpf
186e7d49d3 fixes c2nim regression; do not produce more newlines 2017-10-19 13:29:11 +02:00
Andreas Rumpf
4f633dde64 make nested custom seqs work 2017-10-19 13:29:11 +02:00
Andreas Rumpf
fa0f04968f bugfix: propagate the tfHasAsgn flag properly 2017-10-19 13:29:11 +02:00
Andreas Rumpf
0a3efccb55 preparations for another bugfix 2017-10-19 13:29:11 +02:00
Andreas Rumpf
9911d375b3 make destructors more robust against unchecked arrays 2017-10-19 13:29:11 +02:00
Andreas Rumpf
35c8b5e3bc destructors: irresponsibly simple tcustomseq test works 2017-10-17 22:04:40 +02:00
Andreas Rumpf
e7f37d7223 added typetraits.supportsCopyMem 2017-10-17 21:59:17 +02:00
Andreas Rumpf
58d5f96790 destructors: lift type bound ops to objects and arrays etc 2017-10-17 14:48:16 +02:00
Andreas Rumpf
a0c5260c20 destructors: bugfix: lhs of assignment is irrelevant 2017-10-17 13:09:28 +02:00
Araq
45d74f4081 destructors: preparations for upcoming changes 2017-10-17 12:46:49 +02:00
Andreas Rumpf
9485f1c888 make tests green again 2017-10-16 20:29:16 +02:00
Andreas Rumpf
7eeef4aae7 fixes #1137 2017-10-16 16:47:10 +02:00
Araq
9d5f54f456 fixes #5007 2017-10-16 13:28:36 +02:00
Araq
604a15c0aa some progress on the nimpretty tool; still not ready 2017-10-16 00:59:51 +02:00
Araq
c06f73b484 fixes an off-by-one error for nimpretty 2017-10-16 00:04:46 +02:00
Andreas Rumpf
ccf99fa5ce closes #5070 2017-10-15 20:55:38 +02:00
Andreas Rumpf
e6f0bff6dd make tests green again 2017-10-15 09:32:53 +02:00
Andreas Rumpf
14ca49743f make nnkGotoState and labels more flexible 2017-10-15 01:26:48 +02:00
Araq
3aaf1e4980 make httpclient compile again via a workaround 2017-10-15 00:52:22 +02:00
Araq
a75f3b3661 fixes #4910 2017-10-14 22:35:20 +02:00
Araq
9af9480340 fixes #5620 2017-10-14 22:35:20 +02:00
Andreas Rumpf
8780d25e03 minor refactorings for better destructors 2017-10-14 20:37:49 +02:00
Andreas Rumpf
4eaa2bf15d improve code generation for custom strings/seqs 2017-10-14 20:37:49 +02:00
Andreas Rumpf
5dca695bcf new destroyer pass works with procs too 2017-10-13 07:00:52 +02:00
Andreas Rumpf
63530be0b8 introduce --newruntime switch for the upcoming destructors and move semantics 2017-10-13 06:38:59 +02:00
Andreas Rumpf
a2e4ab2e4e simple programs now work with the new destroyer pass 2017-10-12 17:42:15 +02:00
Andreas Rumpf
d6c401acfb code cleanups for the upcoming reworked destructors 2017-10-12 12:47:34 +02:00
Andreas Rumpf
ec253ada72 initial version of the new untested destructor pass 2017-10-12 11:32:29 +02:00
Andreas Rumpf
078e78d208 do not produce the annoying small 'l' warning 2017-10-10 21:59:23 +02:00
Andreas Rumpf
1063085850 fixes #6474 2017-10-10 13:57:03 +02:00
Andreas Rumpf
91981c07bd some progress on destroyer.nim 2017-10-10 13:17:35 +02:00
Andreas Rumpf
083cb00e8d added a minor note to destroyer.nim 2017-10-10 11:26:29 +02:00
Andreas Rumpf
ac3e3cf2b0 fixes a renderer regression that affects c2nim 2017-10-10 11:15:18 +02:00
Andreas Rumpf
3308d26581 breaking change: arrays of char do not convert to cstring; ptr to array of char does 2017-10-10 00:17:20 +02:00
Andreas Rumpf
db0d353281 Merge branch 'stringify-array' of https://github.com/krux02/Nim into krux02-stringify-array 2017-10-09 23:46:24 +02:00
Andreas Rumpf
d8746398c4 allow macros to produce nnkGotoState and nkState 2017-10-09 21:12:40 +02:00