narimiran
7beea1642d
Revert "os.walkDir: correctly evaluate paths when relative = true"
...
This reverts commit 123c568236 .
v0.19.2
2018-12-31 11:20:10 +01:00
narimiran
a23b5c9265
Revert "Undefine some symbols and globalOptions when processing nimscript ( #9945 ) [backport]"
...
This reverts commit 90b4648a99 .
2018-12-31 11:17:27 +01:00
alaviss
3b2e151d3e
config/nim.cfg: disable tlsEmulation on Haiku ( #10092 ) [backport]
...
As of hrev52662, TLS support in Haiku is usable again. This has since
been backported to R1/Beta1, so we can flip the switch upstream.
(cherry picked from commit ca0ef62c9e )
2018-12-29 10:52:33 +01:00
Araq
0b9d158d11
fixes #10033 [backport]
...
(cherry picked from commit bdb67201b2 )
2018-12-29 10:52:09 +01:00
alaviss
123c568236
os.walkDir: correctly evaluate paths when relative = true
2018-12-29 10:51:43 +01:00
Araq
98bf23fe08
fixes #10058 [backport]
...
(cherry picked from commit 23448a96cc )
2018-12-29 10:47:49 +01:00
Andreas Rumpf
d02bf88f21
GC: avoid pathological behaviour; fixes #10040 [backport]
2018-12-29 10:47:20 +01:00
Neelesh Chandola
90b4648a99
Undefine some symbols and globalOptions when processing nimscript ( #9945 ) [backport]
...
* Undefine some symbols when processing nimscript
* Undefine taintMode when processing nimscript
* Reload .cfg configuration
(cherry picked from commit bb85869237 )
2018-12-29 10:45:33 +01:00
Jacek Sieka
a29ab5e65f
allow uints to appear in deep constant expressions
...
(cherry picked from commit db51eb3e32 )
2018-12-15 10:43:23 +01:00
Timothee Cour
c16fa63f5e
fix #9872 : setLen now works properly at CT [backport]
...
(cherry picked from commit f838b1e6c1 )
2018-12-15 10:24:54 +01:00
Araq
28946ed9f6
fixes #9864 [backport]
...
(cherry picked from commit af815c3c18 )
2018-12-15 10:07:15 +01:00
Araq
f0a78b8ef1
hotfix: discriminants can be of size 8 bytes [backport]
...
(cherry picked from commit 24106ade8f )
2018-12-15 10:07:03 +01:00
Timothee Cour
c0e741778f
fix #9832 (fixup) ( #9859 )
...
(cherry picked from commit d502ddea9e )
2018-12-15 10:06:45 +01:00
Timothee Cour
c3319fcad5
fixes #9832 ( #9841 ) [backport]
...
(cherry picked from commit 05769020d3 )
2018-12-15 10:06:25 +01:00
Andreas Rumpf
7572d40b23
enables .raises: [] via a .push ( #9834 ) [backport]
...
(cherry picked from commit c74226f4c1 )
2018-12-15 09:41:22 +01:00
Josh Goebel
fa01531b8c
fix outdated example to invoke Nim from C
...
- resolves #8139
(cherry picked from commit dace2a0999 )
2018-11-28 17:50:36 +01:00
Andreas Rumpf
e091c99514
don't crash where there is an unknown statement pragma [backport]
...
(cherry picked from commit 93cf0ef52e )
2018-11-28 17:49:45 +01:00
pgkos
a8b20e8129
fixes #9800 ( #9804 ) [backport]
...
* fixes #9800
* add tests for #9800
(cherry picked from commit 518c72e57a )
2018-11-28 17:49:33 +01:00
alaviss
b53d726c57
don't raise exception in the default handler
2018-11-24 21:53:35 +01:00
narimiran
ff66aae380
disable tasyncssl on appveyor
2018-11-24 20:16:12 +01:00
Yuriy Glukhov
219942658b
Fixes 9716 [backport]
2018-11-24 17:35:24 +01:00
Ștefan Talpalaru
7dfb2a8cd3
fix segfault when calling shallow() on an empty string ( #9782 ) [backport]
...
shallow() casts its string argument to a seq and then tries to access
its fields. Guess what happens when that string is nil, which seems to
be the representation of an empty string (both the default value and an
explicitly assigned "").
Segfault encountered when running "ntags -R ." on a large project. The relevant line:
a1c62c38e5/ntags.nim (lines-125)
(cherry picked from commit f8fa94cb20 )
2018-11-24 12:21:04 +01:00
ishowta
9fcdc14527
Empty check in shallow [backport] ( #9676 )
2018-11-24 12:20:35 +01:00
cooldome
ad554a2013
Fixes discard bug in cpp codegen ( #9747 ) [backport]
...
Fixes discard bug in cpp codegen
(cherry picked from commit 9b9f5dee0b )
2018-11-24 12:17:32 +01:00
Yuriy Glukhov
43b3582952
Fixed yield in nkObjConstr. Fixes #9694 [backport] ( #9744 )
...
* Fixed yield in nkObjConstr. Fixes #9694
* Separate expr lowering from state splitting, introduce a clear lowering internal error
(cherry picked from commit 5a2290f788 )
2018-11-24 12:17:21 +01:00
cooldome
64a4c72392
Of operator in vm fixes [backport] ( #9717 )
...
* fixes #9701
* fixes #9702
* optimize of statement to bool
(cherry picked from commit 8c1083d3b7 )
2018-11-24 12:15:43 +01:00
Andreas Rumpf
fa3017f6bb
nimpretty: fixes #9673 [backport]
...
(cherry picked from commit 532647171e )
2018-11-24 12:15:12 +01:00
Andreas Rumpf
172e95be50
nimpretty: explicit --indent option; fixes #9502 ; refs #9510 [backport]
...
(cherry picked from commit d1fe195dcc )
2018-11-24 12:15:05 +01:00
Andreas Rumpf
7d88738068
parser/grammar sync; fixes #9608 [backport]
...
(cherry picked from commit 4e94f49065 )
2018-11-24 12:14:18 +01:00
Andreas Rumpf
5f7679cb50
nim check fix; fixes #9609 [backport]
...
(cherry picked from commit 1c73db08b8 )
2018-11-24 12:14:09 +01:00
Andreas Rumpf
4cece52524
Nimscript: fixes #9246 [backport]
...
(cherry picked from commit 73c306258b )
2018-11-24 12:13:36 +01:00
Miran
3ef686011d
Merge tests into a larger file (part 8 of ∞) ( #9583 )
...
* merge tuple tests
* merge trmacros tests
* merge template tests
(cherry picked from commit 66a76d3165 )
2018-11-24 12:13:20 +01:00
Araq
f0e196e674
make more tests green
2018-11-04 13:28:02 +01:00
Araq
c514fd5b27
manually backported the fix to #9322
2018-11-04 13:27:45 +01:00
LemonBoy
1355dd1884
Fix transformation of yield in inline context ( #9135 )
...
When the loop variables are part of the envP block it is not safe to use
a nkFastAsgn.
Fixes #2656
(cherry picked from commit f98a3056c6 )
2018-11-04 13:16:28 +01:00
Araq
fcbe611899
make some tests green again
2018-11-04 13:16:21 +01:00
Araq
b0217beadf
preparations for version 0.19.2
2018-11-04 10:03:50 +01:00
LemonBoy
d37ec666d7
cherry pick
2018-11-04 09:02:03 +01:00
Araq
da1569afb6
fixes #9507
...
(cherry picked from commit eb2e494a52 )
2018-11-04 08:47:34 +01:00
Neelesh Chandola
abf02b5f28
Fixes #9556 ( #9604 ) [backport]
...
(cherry picked from commit 7a15d2d04b )
2018-11-03 07:28:51 +01:00
Miran
e68775f94d
delete unused issue_template.md
...
The templates in .github/ISSUE_TEMPLATE are used.
(cherry picked from commit 3806e5640a )
2018-11-03 07:28:34 +01:00
Araq
98103b5433
docgen: fixes #9432 [backport]
...
(cherry picked from commit 48f73aaa1c )
2018-11-03 07:27:53 +01:00
Araq
20c6ec0a22
docgen: make tests green again [backport]
...
(cherry picked from commit 8f28be0dd8 )
2018-11-03 07:27:20 +01:00
Araq
be6f0108f3
docgen: fixes #9169 [backport]
...
(cherry picked from commit eb03684c57 )
2018-11-03 07:26:41 +01:00
Arne Döring
ae26351a0e
changelog entry
...
(cherry picked from commit 80843373ba )
2018-11-01 18:08:38 +01:00
Arne Döring
899ce95420
fix typo
...
(cherry picked from commit 84db658eb4 )
2018-11-01 18:08:25 +01:00
Miran
e214241bd3
Change documentation details ( closes #5525 ) ( #9542 )
...
(cherry picked from commit 313bbf5b9b )
2018-11-01 18:08:00 +01:00
Araq
257d62efc9
docgen: fixes #9235 [backport]
...
(cherry picked from commit c9e8b899ed )
2018-11-01 18:07:49 +01:00
Araq
ea2309a99f
contributing guide: document the new [backport] convention
...
(cherry picked from commit b138e89772 )
2018-11-01 18:07:39 +01:00
Araq
8172ac8c0b
system.nim: workaround for the fixed documentation generator
...
(cherry picked from commit 1dd1d66f16 )
2018-11-01 18:07:13 +01:00