citycide
4362ba7293
docs: clarify asyncCheck vs waitFor
2018-10-27 18:04:25 +01:00
Kaushal Modi
f8cef575b3
Improve dumpLisp macro ( #9515 )
...
* Improve dumpLisp macro
- Remove commas from the lisp representation of the AST.
- Make the dumpLisp output "pretty" and indented.
- Improve docs of `dumpTree` and `dumpLisp` macros.
With:
dumpLisp:
echo "Hello, World!"
Output before this commit:
StmtList(Command(Ident("echo"), StrLit("Hello, World!")))
Output after this commit:
(StmtList
(Command
(Ident "echo")
(StrLit "Hello, World!")))
* Re-use the traverse proc inside treeRepr for lispRepr too
- Add module-local `treeTraverse` proc.
- Also fix treeRepr/dumpTree not printing nnkCommentStmt node contents.
* More doc string updates
* Allow unindented lispRepr output for tests
* Update a test affected by the lispRepr change
* Fix dumpTree
* Add note about lispRepr and dumpLisp to changelog [ci skip]
2018-10-27 14:10:05 +01:00
Andreas Rumpf
dd252ce640
nimpretty tester: strengthen the comparison, do not use strip
2018-10-26 01:54:09 +02:00
Andreas Rumpf
03005fde99
nimpretty: fixes #9506
2018-10-26 01:53:10 +02:00
Andreas Rumpf
0c3e6735ac
fixes #9358
2018-10-26 01:25:06 +02:00
Mamy Ratsimbazafy
5b97762787
Openmp parallel iterator improvements ( #9493 )
...
* More flexibility in OpenMP pragma
* Use static to constrain to compile-time annotation string
* Update changelog with OpenMP change
2018-10-25 18:09:35 +02:00
Araq
c844a9169c
fixes #9498 , typeof is for everybody
2018-10-25 13:04:51 +02:00
Araq
8fbdac544b
correct tnoop test case
2018-10-25 13:04:17 +02:00
Araq
87d60b2a4b
nimpretty: fixes #9500
2018-10-25 11:48:06 +02:00
Araq
0afca3dd6b
nimpretty: fixes #9504
2018-10-25 11:18:03 +02:00
Araq
eb2e494a52
fixes #9507
2018-10-25 11:08:46 +02:00
Andreas Rumpf
5fd2827ab6
nimpretty: fixes #9499
2018-10-25 07:52:27 +02:00
Andreas Rumpf
223e92b83a
stdlib: documenation updates, the exception names have been changed
2018-10-25 07:42:45 +02:00
Andreas Rumpf
f5a2c6e19d
make tests green again
2018-10-24 22:29:01 +02:00
Andreas Rumpf
9331f06c0b
parsutils: minor doc improvements
2018-10-24 21:52:33 +02:00
Araq
963292f725
added system.typeof operation; fixes #9093
2018-10-24 17:09:51 +02:00
Araq
e7e75224a2
nimpretty: closes #9484
2018-10-24 15:22:28 +02:00
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