Andreas Rumpf
49d5fb60a7
Merge pull request #8806 from awr1/add-reorder-to-docs
...
[Docs] Added {.experimental: "codeReordering".} to manual
2018-09-15 00:38:06 +02:00
Andreas Rumpf
5fa4fa185b
Merge pull request #8875 from awr1/experimentalize-reorder
...
Experimentalize reorder (Changes {.reorder: on.} to {.experimental: "codeReordering".})
2018-09-15 00:36:57 +02:00
Andreas Rumpf
0c04b80651
Merge pull request #8966 from LemonBoy/fix-8964
...
Fix hashing for codegenProc (sic) types
2018-09-14 22:28:12 +02:00
Araq
9995f50050
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2018-09-14 22:17:27 +02:00
Araq
fba9c2aef6
make tests green again
2018-09-14 20:10:46 +02:00
Araq
ed5d2b5505
make tcompilerapi green, don't assue projectPath exists
2018-09-14 19:30:02 +02:00
genotrance
7af659cf59
Test case for #6163 ( #8960 )
...
* Test case for #6163
2018-09-14 17:09:16 +02:00
Araq
0cb72185ae
adjust travis build, don't test Nimble in Nim
2018-09-14 17:06:26 +02:00
Araq
313282d805
better file handling for .line directives
2018-09-14 15:55:29 +02:00
Araq
5709736e82
Merge branch 'devel' into araq-better-docgen
2018-09-14 15:48:07 +02:00
Araq
5ee904643a
fixes #8883
2018-09-14 15:47:37 +02:00
LemonBoy
839953c3e1
Fix hashing for codegenProc (sic) types
...
Since the name mangling is inhibited we should take the user-supplied
name during the sighash computation.
Fixes #8964
2018-09-14 15:37:51 +02:00
Araq
4ab9953787
fixes #8961
2018-09-14 11:40:43 +02:00
Araq
d2208091fa
disable Nimble dependencies for appveyor
2018-09-14 09:45:03 +02:00
Araq
bf0993c835
'koch web' is now 'koch docs'
2018-09-14 07:56:46 +02:00
Araq
9b29436f62
make documentation generator tests green again
2018-09-13 23:18:51 +02:00
Araq
7d9c5be333
nim doc: simplifiy index generation
2018-09-13 20:28:51 +02:00
Araq
b1b58b88cc
integrate 'koch web' features into koch; deprecate 'nimweb' tool
2018-09-13 18:47:53 +02:00
Araq
e934ad61eb
cleanup lib.rst, remove deprecated modules
2018-09-13 10:01:52 +02:00
awr
e4c4cbc176
fixed language wrt initialization
2018-09-12 18:29:01 -05:00
Araq
b9ed684dd2
index generation for docgen knows about subdirectories; index knows about enum values; fixes import statement for runnableExamples
2018-09-13 01:05:51 +02:00
LemonBoy
382fe446c3
Merge pull request #8956 from genotrance/devel
...
Test cases for #6969 #7346 #7581
2018-09-12 20:59:01 +02:00
Ganesh Viswanathan
f4356d6115
Fix system.nim line number test case failure
2018-09-12 12:58:50 -05:00
Ganesh Viswanathan
9b2115558b
Test cases for #6969 #7346 #7581
2018-09-12 12:00:01 -05:00
Andreas Rumpf
8f046792cf
Merge pull request #8941 from timotheecour/pr_fix_8928
...
fix #8928 regression
2018-09-12 10:28:57 +02:00
Andreas Rumpf
132eb31e32
Merge pull request #8949 from nim-lang/araq-for-loop-expressions
...
For loop expressions
2018-09-12 10:27:54 +02:00
LemonBoy
b195204549
Fix add(string, cstring) when the lhs is null ( #8951 )
2018-09-12 10:10:00 +02:00
LemonBoy
87955eaf30
Fix concat behaviour for uninitialized strings ( #8950 )
2018-09-11 23:35:21 +02:00
Timothee Cour
72170b443d
add testcase
2018-09-11 11:52:51 -07:00
Timothee Cour
b5f463c3f6
fix #8928
2018-09-11 11:36:15 -07:00
LemonBoy
8670f4911b
Fix semantic pass with borrowed magic procs ( #8945 )
...
Reported by pqflx3 on the forum.
2018-09-11 20:32:25 +02:00
Andreas Rumpf
de02f5fa0a
add tcollect test for the new for-loops as expressions feature
2018-09-11 19:14:31 +02:00
Andreas Rumpf
84d122b5c8
extended system.type/typeof to support an upcoming 'collect' macro that works much better than sugar.lc
2018-09-11 19:02:05 +02:00
Andreas Rumpf
f7d1902043
fixes merge conflicts
2018-09-11 17:27:47 +02:00
LemonBoy
e7d4043406
Always emit hti object types if needed ( #8940 )
...
The compiler is now smart enough to emit types only if needed without
all the importc tricks. This also fixes a codegen bug where, if all the
stars align correctly, typeinfo doesn't include any definition of
`TNimType` but uses it.
Found by @skilchen in #8938
2018-09-11 17:03:21 +02:00
Andreas Rumpf
af94946517
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2018-09-11 16:41:34 +02:00
LemonBoy
9ba80d2044
JS strings have no trailing zero anymore ( #8936 )
2018-09-11 11:45:02 +02:00
Araq
f14f554435
nim doc: fixes cross-link generation when --out is used
2018-09-10 23:27:45 +02:00
Araq
2d8adb8e03
build nimble in debug mode to enable stack traces
2018-09-10 15:12:07 +02:00
Araq
2fc63838c8
appveyor: attempt to make the build more robust
2018-09-10 14:13:18 +02:00
LemonBoy
7107ec05de
Narrowing casts are applied after every op if needed ( #8918 )
...
This way we make sure not to end up with weird values every now and
then.
Fixes #7300
Fixes #8909
2018-09-08 19:41:07 +02:00
Araq
769b562764
some protection against injected doc comments from templates
2018-09-08 10:45:51 +02:00
LemonBoy
3f16711254
Fix insert/delete for JS ( #8915 )
...
Fixes #8914
2018-09-08 10:38:18 +02:00
Araq
ca77f9388a
'nim doc': fixes index generation regression
2018-09-08 10:04:22 +02:00
LemonBoy
91b37311d9
Fix AST generation for case statements ( #8908 )
...
Fixes #7534
2018-09-07 21:07:06 +02:00
LemonBoy
eae3c305a7
Don't segfault if the line is empty ( #8906 )
2018-09-07 21:06:51 +02:00
LemonBoy
e69d8ec416
Fix type comparison in semConv ( #8907 )
...
Fixes #8905
2018-09-07 21:06:30 +02:00
Araq
c7ba7a97c0
fixes merge conflict
2018-09-07 19:25:05 +02:00
Araq
f078f272e5
make tests green again
2018-09-07 19:21:17 +02:00
Araq
e06a89e112
fixes bootstrapping problems
2018-09-07 19:21:17 +02:00