Araq
06a6433db7
nimpretty: test for idempotence; fixes #9483
2018-10-24 15:19:29 +02:00
genotrance
8500076651
Make Windows cross-compilation simpler ( #9485 )
2018-10-24 13:12:08 +02:00
Arne Döring
eb6225ad8c
fixes #9276 ( #9317 )
2018-10-24 13:10:44 +02:00
LemonBoy
16d82c82e3
Remove a hack in the destroyer impl ( #9479 )
...
Generate nkHiddenAddr nodes w/ proper type attached.
2018-10-24 09:11:46 +02:00
Araq
3ee53a7c8e
nimpretty: fixes #8078
2018-10-24 00:59:57 +02:00
Araq
e3a0415650
nimpretty: fixes #9398
2018-10-24 00:53:41 +02:00
Araq
72370c8dfa
closes #9400
2018-10-23 17:52:18 +02:00
Araq
695074214b
nimpretty: minor bug fix
2018-10-23 17:52:18 +02:00
Araq
00f84d3d22
tar.xz building: also ship with the moved testament tool
2018-10-23 17:52:18 +02:00
loongw
4841fc5356
\#include "windows.h" instead of "Windows.h" ( #9475 )
...
This fixes #9474
2018-10-23 15:50:11 +02:00
Oscar Nihlgård
16c3d4332f
Fix infinite loop with nim check ( #9448 )
2018-10-22 17:24:14 +02:00
LemonBoy
b613092de8
Don't crash if GC_{un,}ref is called on nil ( #9445 )
...
Fixes #9442
2018-10-22 17:09:15 +02:00
cooldome
9c88df220a
Compile pragma. Recompile on external file compilation failure ( #9455 )
2018-10-22 12:49:57 +02:00
Arne Döring
0dd3038a39
Merge pull request #9460 from recloser/fix-printing-uninitialized-strings
...
Fix printing and comparing uninitialized strings on JS
2018-10-22 08:26:53 +02:00
recloser
2b03bed2db
Fix printing and comparing uninitialized strings
2018-10-21 21:18:10 +02:00
Arne Döring
ce05a850a5
Merge pull request #9457 from Vindaar/fixes-9456
...
Fixes #9456
2018-10-20 21:57:17 +02:00
Vindaar
557fa85e02
add test case
2018-10-20 20:36:32 +02:00
Vindaar
e190f485ae
fixes #9456 by only calling c_fclose if non nil
2018-10-20 20:35:04 +02:00
Dominik Picheta
863d3ef4ed
Merge pull request #9446 from GULPF/times-32
...
Fix times 32-bit issue
2018-10-19 23:24:47 +01:00
Oscar Nihlgård
81f5427ed4
Fix times 32-bit issue
2018-10-19 22:33:40 +02:00
LemonBoy
16a70c84aa
Fixes 6544 ( #9427 )
...
* Fix call to converters with var/lent args
Fixes #6544
* Fix printing of lent types
* lent is only valid for result types
2018-10-19 21:04:32 +02:00
Timothee Cour
d0dd5ea887
[doc] add tips to doc/contributing.rst: git, code review, CI ( #9429 )
2018-10-19 21:03:25 +02:00
cooldome
b1ff37c08f
Transf minor code optimization ( #9433 )
2018-10-19 20:17:30 +02:00
Miran
fc625091e0
Update issue templates
...
Create `bug report` and `feature request` templates.
2018-10-19 16:52:14 +02:00
Araq
cd9bc941e1
incremental compilation: fixes basic caching logic of 'module' table
2018-10-19 16:27:20 +02:00
Arne Döring
d26beedfb1
Create issue_template.md
2018-10-19 15:07:14 +02:00
cooldome
953f2ef261
Minor bug fix ( #9430 )
2018-10-19 11:45:59 +02:00
Miran
9fb212cfdf
merge stdlib tests ( #9439 )
2018-10-19 11:43:35 +02:00
jcosborn
3b1ade0350
added test for #4674 ( #9438 )
2018-10-19 11:18:13 +02:00
Timothee Cour
162e7ee5b5
fixes #9376 : old changelogs should be kept instead of erased ( #9428 )
2018-10-19 09:33:42 +02:00
cooldome
eaca5be9d6
Change the order of compilation passes, transformation is made lazy at code gen ( #8489 )
...
* Ast no transformation
* Add getImplNoTransform to the macros module
* progress on delaying transf
* Fix methods tranformation
* Fix lazy lambdalifting
* fix create thread wrapper
* transform for lambda lifting
* improve getImplTransformed
* Fix destructor tests
* try to fix nimprof for linux
2018-10-18 20:21:25 +02:00
Timothee Cour
15dbd973de
[doc] start of best practices section in contributing.rst ( #9415 )
2018-10-18 20:20:26 +02:00
Arne Döring
9f18a4f448
Merge pull request #8366 from krux02/nimnode-or
...
or on NimNode
2018-10-18 17:49:47 +02:00
Araq
604dfebee0
disallow 'continue' that is not used within a loop; fixes #6367
2018-10-18 17:42:57 +02:00
Araq
c64391e30b
closes #6220
2018-10-18 17:28:00 +02:00
Araq
68c6d709d3
fixes #5519
2018-10-18 17:06:04 +02:00
Araq
4644484fb7
closes #5321
2018-10-18 17:00:23 +02:00
Araq
ec4985a573
fixes #7972
2018-10-18 17:00:23 +02:00
Arne Döring
f9bc4d014a
changelog entry
2018-10-18 16:07:15 +02:00
Arne Döring
016e0b1aac
fix typo
2018-10-18 15:42:14 +02:00
Arne Döring
358b5225df
fixed comment
2018-10-18 15:39:22 +02:00
Arne Döring
48697dc5bb
added test case for or operator
2018-10-18 15:39:22 +02:00
Arne Döring
abe8ac1962
or on NimNode
2018-10-18 15:39:22 +02:00
Vindaar
82a1576263
fix #9394 by replacing fmt with strutils.% ( #9417 )
...
* fix #9394 by replacing `fmt` with normal string append
Until issue #7632 is fixed, use string append.
* use `strutils.%` instead of normal string add
2018-10-18 14:47:47 +02:00
LemonBoy
1fe949b9d5
Make the swap procs safe for unaligned input ptrs ( #9210 )
...
* Make the swap procs safe for unaligned input ptrs
The copy to a temporary local variable is often elided by a sufficiently
smart compiler when it can prove the input pointer is aligned.
Refs #9206
* Explain why copyMem is used
2018-10-18 14:30:31 +02:00
Araq
e66b51eb16
make testament compile again with --taintMode:on
2018-10-18 14:25:54 +02:00
Miran
675c629fee
replace deprecated safeAdd with add ( #9416 )
2018-10-18 12:29:32 +02:00
Timothee Cour
7d8e281239
[nimscript] document currentSourcePath in thisDir ( #9402 )
2018-10-18 12:18:40 +02:00
Araq
be77710c8c
testament: use NIM_COMPILE_TO_CPP environment variable
2018-10-18 12:12:15 +02:00
Araq
381498b0db
tests: disable flaky tests for now; closes #9421
2018-10-18 12:12:15 +02:00