cooldome
dfb8730f51
Implements #9434 . Minimal Stacktrace for Exceptions in release mode ( #9480 )
...
* Fixes #9434
2018-10-28 13:40:42 +01:00
Utwo
a68a4bfaf2
Remove install.txt and readme.txt ( #9521 )
...
* Remove install.txt and readme.txt
* Refactor tests that use readme.txt
* Tests open own source code
2018-10-28 13:36:52 +01:00
Araq
f9eec2aa1e
fixes #9532
2018-10-28 13:23:27 +01:00
Araq
fe855d8ba4
make tstatic_t_bug compile with the C++ backend
2018-10-28 13:17:08 +01:00
Arne Döring
2fa13040b9
Merge pull request #9496 from cooldome/vm_float_casts
...
VM: add int <-> float casts of the same size
2018-10-28 11:56:30 +01: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
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
Andrii Riabushenko
4c53d45674
Merge branch 'devel' into vm_float_casts
2018-10-24 22:16:25 +01:00
Andrii Riabushenko
a54e0703a9
Add test
2018-10-24 20:29:51 +01:00
Araq
963292f725
added system.typeof operation; fixes #9093
2018-10-24 17:09:51 +02:00
Araq
06a6433db7
nimpretty: test for idempotence; fixes #9483
2018-10-24 15:19:29 +02:00
Arne Döring
eb6225ad8c
fixes #9276 ( #9317 )
2018-10-24 13:10:44 +02:00
Andrii Riabushenko
bd68d3d8f4
improve style
2018-10-24 11:26:32 +01:00
Andrii Riabushenko
a7c9533a73
Add int float casts to vm
2018-10-24 11:24:23 +01: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
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
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
LemonBoy
5afcd09cb3
Pervasive replacement of nkRecWhen in generic types
...
Long story short, even if the type contains no reference at all to its
generic parameters we still have to walk its AST and evaluate any
nkRecWhen nodes that semRecordNodeAux skipped due to the type being a
generic one.
We also must be careful to modify the type `n` node in place since it
may be referenced by the caller as seen in the tillegaltyperecursion
test.
Moreover we also can't have the nkSym drift away from their original
values in order not to break the JS nkObjConstr codegen.
2018-10-19 22:17:38 +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
cooldome
b1ff37c08f
Transf minor code optimization ( #9433 )
2018-10-19 20:17:30 +02:00
Araq
cd9bc941e1
incremental compilation: fixes basic caching logic of 'module' table
2018-10-19 16:27:20 +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
Araq
604dfebee0
disallow 'continue' that is not used within a loop; fixes #6367
2018-10-18 17:42:57 +02:00
Araq
68c6d709d3
fixes #5519
2018-10-18 17:06:04 +02:00
Araq
ec4985a573
fixes #7972
2018-10-18 17:00:23 +02:00
Miran
675c629fee
replace deprecated safeAdd with add ( #9416 )
2018-10-18 12:29:32 +02:00
LemonBoy
6ef198e07b
Relax the restrictions on the index types ( #9412 )
2018-10-18 11:08:05 +02:00
Araq
bd9d5787f0
nimpretty: fixes #9384
2018-10-17 13:07:29 +02:00
PMunch
db95fad6fa
Fixes #9364 and add moduleDescription to jsondoc ( #9396 )
...
This fixes `jsondoc0` so that it has comments in the output as described
by the documentation. It also fixes `jsondoc`/`jsondoc2` as it stored
it's output in a file with an html extension. Along with this it also
adds a new field `moduleDescription` to `jsondoc`/`jsondoc2` which
contains the module description.
2018-10-17 00:34:47 +02:00
Miran
e8cf289bee
improve error message, closes #2361 ( #9387 )
...
* improve error message
* use single % operation
2018-10-17 00:18:51 +02:00
Oscar Nihlgård
163e9de3c2
Unicode escape in string literals ( #9390 )
2018-10-17 00:14:22 +02:00
Andreas Rumpf
0d48bafcf0
fixes a regression about indexing into UncheckedArray
2018-10-16 20:09:12 +02:00
Andreas Rumpf
778e4d1775
nimpretty: fixes #9144
2018-10-16 17:21:41 +02:00
Andreas Rumpf
f3c0703b7d
nimpretty: add #!nimpretty on/off directives
2018-10-16 16:55:04 +02:00
Andreas Rumpf
ed38079b9b
nimpretty: fixes #8626
2018-10-16 16:55:04 +02:00
Andreas Rumpf
89ba0f8592
nimpretty: render r-strings properly, fixes #9236
2018-10-16 13:33:14 +02:00
Araq
bf01d7136e
Merge branch 'Fixes-7845' of https://github.com/cooldome/Nim into cooldome-Fixes-7845
2018-10-15 11:50:12 +02:00
Araq
f8e805a614
fixes #2760
2018-10-15 10:43:56 +02:00
Andreas Rumpf
b39302b0d2
DFA: implement exception handling properly
2018-10-14 17:36:55 +02:00