Miran
c4e26f7400
[other] prettify collections ( #11695 )
...
(cherry picked from commit 2255d8795b )
2019-07-15 07:58:27 +02:00
Araq
ab98141c75
newruntime: async progress
...
(cherry picked from commit 55e8aefbea )
2019-07-15 07:58:27 +02:00
Araq
14c6e3a6ab
control flow graph: don't ignore yield statements
...
(cherry picked from commit 73c570d1d9 )
2019-07-15 07:58:27 +02:00
Araq
808746e864
newruntime: map system.reset to =destroy
...
(cherry picked from commit ad58ed344a )
2019-07-15 07:58:27 +02:00
Arne Döring
386f126dd7
closes #11551 ( #11693 )
...
(cherry picked from commit eb059fa848 )
2019-07-15 07:58:26 +02:00
Araq
ce9eaee303
newruntime: 'owned distinct' is a valid construct (required by async)
...
(cherry picked from commit a85e20c125 )
2019-07-15 07:58:26 +02:00
Araq
7c7bab0626
make tests green again
...
(cherry picked from commit fa982b43f0 )
2019-07-15 07:58:26 +02:00
narimiran
da2a149522
nimpretty: more comment indentation fixes
...
(cherry picked from commit 96d49608c0 )
2019-07-15 07:58:26 +02:00
Araq
8afe92a1ab
nimpretty: more improvements
...
(cherry picked from commit eefcea8892 )
2019-07-15 07:58:26 +02:00
Araq
2a0c9dc063
nimpretty: code cleanups
...
(cherry picked from commit fc34193483 )
2019-07-15 07:58:26 +02:00
Araq
e0b4d034bc
nimpretty: yet another improvement
...
(cherry picked from commit 0193c8ad2e )
2019-07-15 07:58:26 +02:00
Araq
12baecb42d
async: more 'owned' annotations
...
(cherry picked from commit 7993d61d00 )
2019-07-15 07:58:26 +02:00
Araq
a144bc96b9
asyncmacro produces 'owned' types
...
(cherry picked from commit 2c2f2de614 )
2019-07-15 07:58:26 +02:00
Araq
e0991c4bcf
bugfix: allow type conversions between 'owned ref' types
...
(cherry picked from commit f64179e7fe )
2019-07-15 07:58:26 +02:00
Araq
40c2f504fb
better error message for invalid types
...
(cherry picked from commit 7c62de0cb7 )
2019-07-15 07:58:26 +02:00
Arne Döring
80e51bb407
Offsetof fixes ( #11690 )
...
* first fixes
* more tests and fixes
* code normalization
(cherry picked from commit 11dad688fe )
2019-07-15 07:58:26 +02:00
Miran
9b217c10e6
[other] test more packages ( #11687 )
...
(cherry picked from commit b50ae6817a )
2019-07-15 07:58:26 +02:00
Andreas Rumpf
78b665cc7f
fixes #11530
...
(cherry picked from commit 124a584eb2 )
2019-07-15 07:58:26 +02:00
Timothee Cour
092154de02
[refactoring] nimbase.h: remove dead code which was confusing ( #11682 )
...
(cherry picked from commit 655cb08461 )
2019-07-08 11:33:20 +02:00
Jacek Sieka
0646d6a720
dynlib: use posix module ( #11623 )
...
(cherry picked from commit 9e7d885f35 )
2019-07-08 11:33:20 +02:00
Miran
585a08548a
nimpretty: don't introduce extra spaces after a colon or a comma ( #11672 )
...
(cherry picked from commit d0616ed115 )
2019-07-08 11:33:20 +02:00
Araq
f77bc2522f
fixes #11350
...
(cherry picked from commit 085a21ebf4 )
2019-07-08 11:33:20 +02:00
Andreas Rumpf
5cc49aad44
fixes #11660 ( #11677 )
...
(cherry picked from commit bab1f67971 )
2019-07-08 11:33:20 +02:00
awr1
e3c6f4d21b
[HCR] Added warning for using performCodeReload() in main module ( #11667 )
...
* [HCR] Added error for using performCodeReload() in main module
* [HCR] changed this to a warning, clarified usage
* [HCR] fixed typo
(cherry picked from commit 6a7f8e8ab5 )
2019-07-08 11:33:20 +02:00
Andreas Rumpf
615be176e6
fixes #11671
...
(cherry picked from commit 3258c1e2a3 )
2019-07-08 11:33:20 +02:00
Andreas Rumpf
5dfec61597
improved the error message for #11494 ; closes #11494
...
(cherry picked from commit 465815e894 )
2019-07-08 11:33:20 +02:00
Andreas Rumpf
df32d891a9
fixes a finish.exe regression
...
(cherry picked from commit 6ce6bce12e )
2019-07-08 11:33:20 +02:00
Andreas Rumpf
c96e6682a0
fixes #11447
...
(cherry picked from commit d2684cdfd2 )
2019-07-08 11:33:19 +02:00
Andreas Rumpf
753f8a05d2
fixes #3333
...
(cherry picked from commit cab0c3e544 )
2019-07-08 11:33:19 +02:00
Andreas Rumpf
00ccdec238
fixes #8316 ( #11673 )
...
(cherry picked from commit 64e1408920 )
2019-07-08 11:33:00 +02:00
Andreas Rumpf
49de021b1a
fixes #7057
...
(cherry picked from commit 2678fa679a )
2019-07-08 11:28:42 +02:00
Andreas Rumpf
5ecfbb5a4a
ABI fixes for OSX/BSD; fixes #6860 ( #11666 )
...
(cherry picked from commit 02b9af2f75 )
2019-07-08 11:28:42 +02:00
Juan Carlos
1b10f926c8
Documentation Diff, Typo ( #11566 )
...
* Documentation for Diff, add Examples and runnableExamples
(cherry picked from commit 25cd8a5490 )
2019-07-08 11:28:42 +02:00
Miran
a31b3ef3cf
nimpretty: improved detection of commas and semicolons ( #11661 )
...
* nimpretty: improved detection of commas and semicolons
* address the comments
(cherry picked from commit 34c09a98c7 )
2019-07-08 11:28:42 +02:00
Arne Döring
8501971a60
introduce internal Int128 type, use it to fix case stmt checks ( #11652 )
...
* initial version of int128
* use int128 in case stmt
* fixes #11552
(cherry picked from commit 7d5d9f7703 )
2019-07-08 11:28:42 +02:00
Miran
5863461d47
nimpretty: don't touch formatted multiline comments ( #11663 )
...
(cherry picked from commit 176eaf5c90 )
2019-07-08 11:28:42 +02:00
cooldome
cb3a920097
Fixes #11662 : render ops priority ( #11664 )
...
(cherry picked from commit d1f6c820dd )
2019-07-08 11:28:42 +02:00
narimiran
88896194bd
nimpretty: nicer debugging [ci skip]
...
(cherry picked from commit 2c0c0e772c )
2019-07-08 11:28:42 +02:00
Miran
5689003410
nimpretty: relax line length rules when dealing with (inline) comments ( #11657 )
...
(cherry picked from commit 96a19ea1b4 )
2019-07-08 11:28:42 +02:00
Timothee Cour
789c8e0065
fix #11651 exportc symbol not exported, leading to link error ( #11658 )
...
(cherry picked from commit 95f2f2396f )
2019-07-08 11:28:41 +02:00
Andreas Rumpf
e74e85a41e
fixes #11610 ( #11659 )
...
(cherry picked from commit 28c9c062a4 )
2019-07-08 11:28:41 +02:00
Tomohiro
2ee6d209c2
manual: document block expression ( #11638 )
...
(cherry picked from commit b64dd795b1 )
2019-07-08 11:28:41 +02:00
Andreas Rumpf
3e8c4519d4
newruntime for async ( #11650 )
...
* fixes overloading resolution for passing owned(Future[string]) to Future[T]
* WIP: make --newruntime work with .async
* memtracker: make it compile again
* make Nimble compile again
(cherry picked from commit 5f515410af )
2019-07-08 11:28:41 +02:00
Akito13
cbdba3ceb3
Corrected example shown in documentation ( #11654 ) [ci skip]
...
Used template within example was added to imports.
(cherry picked from commit 0a501932c2 )
2019-07-08 11:27:15 +02:00
Graeme Cross
a9322ed873
Fix the broken link in math.nim ( #11653 ) [ci skip]
...
(cherry picked from commit dad3c40f55 )
2019-07-08 11:27:15 +02:00
narimiran
66660eca32
nimpretty: fix out of bounds error [ci skip]
...
(cherry picked from commit 4450fca6fd )
2019-07-08 11:27:15 +02:00
Araq
d13c75eb2f
nimpretty: nimpretty now understands splitting newlines
...
(cherry picked from commit a59f0adc50 )
2019-07-08 11:27:15 +02:00
Araq
f70a0c90f1
nimpretty: distinguish between the different kinds of newlines in Nim
...
(cherry picked from commit 7d29f8b1a4 )
2019-07-08 11:27:15 +02:00
Timothee Cour
6a23772e23
fixes #8405 : -d:useNimRtl now works even when {.rtl.} procs are used at compile time; CTFFI now works with {dynlib} ( #11635 )
...
(cherry picked from commit 64168d4aea )
2019-07-08 11:27:15 +02:00
Miran
da3a7b852d
[bugfix] fix wrong nimpretty unidents, refs #11616 ( #11645 )
...
(cherry picked from commit 0718d6c2cd )
2019-07-08 11:27:15 +02:00