Leorize
8a007cf4ca
tgetaddrinfo: use sizeof() instead of hardcoding
...
OS like Haiku have a bigger sockaddr_in struct for legacy(?) reasons.
Using sizeof() should account for the different struct sizes.
(cherry picked from commit df32c45757 )
2019-08-12 12:11:25 +02:00
Oscar Nihlgård
ccc611e06d
Allow typeof(nil) as generic parameter ( #11869 )
...
(cherry picked from commit bcfb540e57 )
2019-08-12 12:11:25 +02:00
Oscar Nihlgård
64d1159054
VM exception fixes ( #11868 )
...
(cherry picked from commit 50e921bb94 )
2019-08-12 12:11:25 +02:00
Oscar Nihlgård
ad623d138d
Fix VM conversion to var type [bugfix] ( #11866 )
...
(cherry picked from commit 829f719670 )
2019-08-12 11:22:26 +02:00
Arne Döring
08f094c487
fix #11812 ( #11829 )
...
* fixes #11812
* fixes #10899
* fixes #11367
(cherry picked from commit 1a77040278 )
2019-08-12 11:07:48 +02:00
narimiran
100d6a1960
close #11166 by adding a test
...
(cherry picked from commit 3ccda773d6 )
2019-08-12 10:52:05 +02:00
narimiran
a7683f8b86
close #9891 by adding a test
...
(cherry picked from commit 13190435a6 )
2019-08-12 10:52:05 +02:00
cooldome
28664cf7b8
fixes #11792 ( #11793 )
...
(cherry picked from commit d563efb719 )
2019-08-12 10:50:36 +02:00
Araq
043702776b
fixes #11745
...
(cherry picked from commit 67a6effb7b )
2019-08-12 10:50:04 +02:00
Araq
8be734bf46
fixes #11723
...
(cherry picked from commit 76f9ddb6ab )
2019-07-16 21:21:47 +02:00
Andreas Rumpf
46cb304770
fixes #11715 ( #11721 )
...
(cherry picked from commit de1ede77fe )
2019-07-15 16:18:17 +02:00
narimiran
b4742cc496
fix failing tests
2019-07-15 09:39:35 +02:00
Andreas Rumpf
ae04734031
fixes tcompiletimerange [bugfix] ( #11720 )
...
(cherry picked from commit 2895ad70c8 )
2019-07-15 08:06:47 +02:00
Araq
d91b4b1bb7
[bugfix] VM: finally do inheritance properly
...
(cherry picked from commit 7606efc0bf )
2019-07-15 08:06:46 +02:00
Araq
6f214131a2
JS codegen: supports toOpenArray [bugfix]
...
(cherry picked from commit eaf4b42ff9 )
2019-07-15 08:03:53 +02:00
Andreas Rumpf
f7b061f597
make async tests green again
...
(cherry picked from commit ac458448d8 )
2019-07-15 08:03:16 +02:00
Araq
07505d87e2
make tests green again
...
(cherry picked from commit b2f9447896 )
2019-07-15 08:03:16 +02:00
Araq
6ffe82a5aa
there is only one style -- my style
...
(cherry picked from commit 87a2ced1ba )
2019-07-15 08:02:24 +02:00
Araq
2b4a7ff6f6
fixes linter regressions
...
(cherry picked from commit 73cc029fec )
2019-07-15 07:59:14 +02:00
Araq
b5ab4dabe2
nim styleChecker: implemented all the missing features (bugfix)
...
(cherry picked from commit bd689849f2 )
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
7c7bab0626
make tests green again
...
(cherry picked from commit fa982b43f0 )
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
Jacek Sieka
0646d6a720
dynlib: use posix module ( #11623 )
...
(cherry picked from commit 9e7d885f35 )
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
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
c96e6682a0
fixes #11447
...
(cherry picked from commit d2684cdfd2 )
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
5ecfbb5a4a
ABI fixes for OSX/BSD; fixes #6860 ( #11666 )
...
(cherry picked from commit 02b9af2f75 )
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
cooldome
cb3a920097
Fixes #11662 : render ops priority ( #11664 )
...
(cherry picked from commit d1f6c820dd )
2019-07-08 11:28:42 +02:00
Andreas Rumpf
e74e85a41e
fixes #11610 ( #11659 )
...
(cherry picked from commit 28c9c062a4 )
2019-07-08 11:28:41 +02:00
Araq
b0e86d0f05
fixes #11510
...
(cherry picked from commit c0db1705dc )
2019-07-08 11:27:15 +02:00
Arne Döring
191b7e0bde
[backport] fix #11320 ( #11538 )
...
* [backport] fix #11320
* fix test for 32 bit test
(cherry picked from commit 20d0ef8afb )
2019-07-08 11:26:20 +02:00
Andreas Rumpf
d1de6b9fe4
fixes #11479 ( #11641 )
...
(cherry picked from commit 71b7383f12 )
2019-07-08 11:26:20 +02:00
Andreas Rumpf
476b3b1c13
fixes #11515 ( #11624 )
...
* fixes #11515
* better fix for #11515 ; make tests green
(cherry picked from commit 766960dc15 )
2019-07-02 13:57:12 +02:00
alaviss
eb295bbb7d
assertions: fixes #11545 ( #11605 )
...
* assertions: properly fix #11545
* tests/assert: enable excessiveStackTrace
* tests/assert: add test case for #11545
* tfailedassert_stacktrace: disable excessiveStackTrace
* assertions: weird workaround for failing tests
This fixes megatest on *nix, but have no idea why
(cherry picked from commit 2c10b246ec )
2019-07-02 13:56:55 +02:00
Araq
09d43c1d8f
fixes #11614
...
(cherry picked from commit 413dff03a0 )
2019-07-02 13:56:55 +02:00
Araq
57df2c9c3a
fixes #11611
...
(cherry picked from commit 7ddb31262e )
2019-07-02 13:56:27 +02:00
Andreas Rumpf
843ae0073b
fixes #11523
...
(cherry picked from commit 135fdde6a9 )
2019-07-02 13:54:41 +02:00
Andreas Rumpf
d206e881e9
fixes #11525
...
(cherry picked from commit 19b142401c )
2019-07-02 13:52:20 +02:00
Andreas Rumpf
ba6eb0151c
fixes #11098
...
(cherry picked from commit e083a1533b )
2019-06-27 20:59:46 +02:00
narimiran
28708e0b8e
[bugfix] fix #11588 , don't check if SharedTable is initialized
...
(cherry picked from commit 326e3ad09d )
2019-06-27 20:59:46 +02:00
Araq
763357089e
fixes #11577
...
(cherry picked from commit 0a81b038fd )
2019-06-27 20:59:46 +02:00
Andreas Rumpf
48770b04bd
fixes #11563 ( #11594 )
...
(cherry picked from commit 0f868b587b )
2019-06-27 20:59:45 +02:00
Andreas Rumpf
433dfaf288
[bugfix] fixes #11524
...
(cherry picked from commit 79c721d418 )
2019-06-27 18:14:36 +02:00
Andreas Rumpf
4d18ee498a
closes #11533
...
(cherry picked from commit 0db3c670ac )
2019-06-27 18:14:36 +02:00
Andreas Rumpf
194eebd4b8
[bugfix] system.nim: make pop work with --newruntime
...
(cherry picked from commit bc9fb4885b )
2019-06-27 18:13:55 +02:00
Araq
b41d31e887
[other] newruntime: add a simple closure iterator test
...
(cherry picked from commit 678beb8ef9 )
2019-06-20 11:59:50 +02:00