Commit Graph

2982 Commits

Author SHA1 Message Date
Andreas Rumpf
267855f9fb make tests green again 2016-07-18 14:57:22 +02:00
Andreas Rumpf
f1e77d3124 fixes #4496 2016-07-18 13:05:18 +02:00
Andreas Rumpf
d779a9b722 fixes #4478 2016-07-18 12:16:54 +02:00
Andreas Rumpf
c3315bc763 added gFuzzyGraphChecking for nimsuggest timeout problems 2016-07-17 01:56:45 +02:00
Hans Raaf
c00bb2ca82 findExe() now by default follows symlinks. 2016-07-17 01:07:09 +02:00
Andreas Rumpf
622ab7089c Merge pull request #4488 from mbaulch/fix4346improved
Use target field types in tuple conversions.
2016-07-16 14:13:20 +02:00
Andreas Rumpf
8698de1742 nimsuggest improvements 2016-07-16 13:47:21 +02:00
Andreas Rumpf
b7c1be03c8 added system.newSeqOfCap for improved efficiency 2016-07-15 17:04:14 +02:00
Andreas Rumpf
11b499f3ca prepare for #3898 2016-07-15 15:40:26 +02:00
Andreas Rumpf
57c52d05df better be safe than sorry 2016-07-15 13:29:22 +02:00
Andreas Rumpf
0834cd63d9 prepare Nim codebase for upcoming parser changes 2016-07-15 12:56:03 +02:00
Matthew Baulch
915185dd11 Handle tuples with unnamed fields, symbols, and more. Less duplication. 2016-07-15 20:36:11 +10:00
Andreas Rumpf
3e72c98d49 rollback of nimsuggest improvement until we figured out the reasons 2016-07-15 11:44:02 +02:00
Andreas Rumpf
153fd13f3d fixes #2758 2016-07-15 02:36:37 +02:00
Andreas Rumpf
ab3c684c62 fixes #3545 2016-07-15 01:55:42 +02:00
Andreas Rumpf
db56174a19 fixes #3548 2016-07-15 00:22:14 +02:00
Andreas Rumpf
995727ffd0 decent error message for 'var T' problems 2016-07-15 00:22:14 +02:00
Matthew Baulch
05486957d4 Fix: Correctly (and more efficiently) handle non-tuple conversions. 2016-07-14 21:24:39 +10:00
Matthew Baulch
de41649b0e Use target field types in tuple conversions. 2016-07-14 20:51:40 +10:00
Andreas Rumpf
0867c62ded patchFile: support properly 2016-07-14 10:54:31 +02:00
Araq
6dddb3e68e nimscript.patchFile supports $lib and stuff 2016-07-14 01:40:12 +02:00
Andreas Rumpf
491e8d04ec docgen improvement: hidden 'attachedType' span is generated for upcoming docgen improvements 2016-07-13 21:27:39 +02:00
Andreas Rumpf
b43d5148c5 --listCmd also needs to affect linking step 2016-07-13 21:26:58 +02:00
Andreas Rumpf
7df8b4bb43 nimsuggest: dependencies are recalculated properly 2016-07-13 21:26:37 +02:00
Andreas Rumpf
813828f690 the Nim compiler supports the jsondoc2 command 2016-07-13 01:06:33 +02:00
Andreas Rumpf
f47165af11 fixes #3706 2016-07-13 01:06:33 +02:00
Andreas Rumpf
8dd27a6699 fixes #2730 2016-07-13 01:06:33 +02:00
Andreas Rumpf
928222cc67 fixes #4429 2016-07-12 10:31:36 +02:00
Andreas Rumpf
4f7a2e9def fixes #4358 2016-07-12 10:26:43 +02:00
Andreas Rumpf
84c3830c6b fixes #4301 2016-07-12 02:14:26 +02:00
Andreas Rumpf
56f99f56ac fixes edge cases in the lexer 2016-07-12 01:05:52 +02:00
Andreas Rumpf
7a018007a4 fixes #4471 2016-07-12 00:50:25 +02:00
Andreas Rumpf
bcb2365dec fixes a critical JS codegen bug which caused 'importcpp' statements not to be emitted 2016-07-11 23:19:24 +02:00
Andreas Rumpf
c9ce38e56d fixes a strange JS codegen bug 2016-07-11 23:19:24 +02:00
Andreas Rumpf
51c77e09fd Merge pull request #4477 from kierdavis/4475-segfault
Fix #4475
2016-07-11 20:45:28 +02:00
Kier Davis
56015e52b9 Fix #4475
Existing implementation would append the default value for a varargs parameter (the empty array) to the end of the sons of the
nnkCall node, rather than storing it into the correct index. This left the location where it should have been stored set to
its default value of nil, causing later code that uses this node to segfault.
2016-07-11 14:53:39 +01:00
Matthew Baulch
d05e146b30 Recursively check literals for tyEmpty. 2016-07-11 19:12:05 +10:00
Andreas Rumpf
d7e172a6bc make tests green again 2016-07-10 01:17:08 +02:00
Andreas Rumpf
2247ddd12d make hint/warning work properly after Nimscript execution 2016-07-09 22:45:55 +02:00
Andreas Rumpf
5e82ffc8d5 Nimscript: added support for 'patchFile' 2016-07-09 14:26:00 +02:00
Andreas Rumpf
66f37971e9 undocumented feature: JS backend: unit and group separators generate hash and at symbols 2016-07-09 00:28:14 +02:00
Andreas Rumpf
ba273057e3 Fixes a critical JS codegen bug about @ in call pattern 2016-07-08 23:03:11 +02:00
Andreas Rumpf
e2267ef5c9 Nimscript supports hint() and warning() procs; refs #3688 2016-07-08 22:24:28 +02:00
Andreas Rumpf
089c31765f fixes #3055 2016-07-08 20:11:59 +02:00
Andreas Rumpf
1d186ee9c3 fixes #2377 2016-07-08 18:08:34 +02:00
Andreas Rumpf
d9e44873ab gensym'ed symbols are rendered with their ID for much easier debugging 2016-07-08 18:04:41 +02:00
Andreas Rumpf
abf1951ff0 docgen: hide pragmas 2016-07-08 15:08:55 +02:00
Andreas Rumpf
857b0c8d4c fixes #4462 2016-07-08 10:52:04 +02:00
Andreas Rumpf
b47d9b7b91 fixes #4371 2016-07-08 10:34:12 +02:00
Andreas Rumpf
e9eab32e54 new language feature: explicit 'import system' statements are allowed 2016-07-07 01:02:12 +02:00