Andreas Rumpf
6af147ed1e
fixes #11844 ( #11935 )
...
(cherry picked from commit 433613e267 )
2019-08-13 17:09:37 +02:00
Araq
05c273334a
fixes #10689
...
(cherry picked from commit 322ce1872f )
2019-08-13 17:09:36 +02:00
Araq
07ea817ab1
fixes #11254
...
(cherry picked from commit 289b5e9ef9 )
2019-08-13 17:09:36 +02:00
Andreas Rumpf
94cb21841e
fixes #11891
...
(cherry picked from commit 212ae2f125 )
2019-08-13 17:07:46 +02:00
narimiran
6681319b51
fix failing tests
2019-08-13 16:59:50 +02:00
Arne Döring
e7481e7a27
Lock semchecked ast for macros ( #11883 ) [bugfix]
...
* reject to modify type checked AST
* add flag to back out
* Introduce legacy feature set.
(cherry picked from commit 44e7a7b6c2 )
2019-08-13 16:59:49 +02:00
konradmb
ad8ea06931
Fix issue #10726 - HTTP response without Content-Length is not accessible ( #11904 )
...
* Add patch by @xenogenesi
* Async test for HTTP/1.1 without Content-Length
* Apply suggestions from code review
Co-Authored-By: Dominik Picheta <dominikpicheta@googlemail.com >
(cherry picked from commit addd7b5e20 )
2019-08-13 16:59:49 +02:00
Andreas Rumpf
b0d2052a3f
Incremental compilation (IC): Improvements ( #11881 )
...
* IC: C codegen is aware of IC
* manual: minor change to make VSCode's RST plugin render it properly
* IC: minor refactoring
* testament: code refactorings
* rodutils: removed dead code
* IC: always build the compiler with the IC feature
* IC: C codegen improvements
* IC: implement the undocumented -d:nimMustCache option for testing purposes
* IC: added first basic tests
* IC: extensive testing of the deserialization feature
* testament: refactoring; better IC tests
* IC: removes 'nimMustCache' flag; readonly does the same
* testament: minor refactoring
* update Nimble version
* testament: removed dead code and imports; IC: added simple test
* IC: progress
(cherry picked from commit c8cffaf420 )
2019-08-13 16:59:49 +02:00
Andreas Rumpf
31afbd2379
fixes #11807 ( #11900 )
...
* fixes #11807
* make tests green again
(cherry picked from commit c0d240b8cd )
2019-08-13 16:59:49 +02:00
Arne Döring
38893a34ee
fixes #9829 ( #11849 )
...
(cherry picked from commit b73d097d36 )
2019-08-13 16:59:49 +02:00
narimiran
035427186c
fix #8305 #7808 #10285 #11061 + other bugs with type mismatch error msgs
...
(cherry picked from commit a6526695f0 )
(cherry picked from commit b80d70b0f3 )
(cherry picked from commit 6375df4c53 )
(cherry picked from commit 5fce81edfd )
(cherry picked from commit 5ddea6a98f )
(cherry picked from commit 063ae96a66 )
2019-08-13 16:59:44 +02:00
Leorize
f26124fac2
tgetaddrinfo: disable ICMP tests for Haiku
...
They're not supported by Haiku's getaddrinfo()
(cherry picked from commit 51d998390c )
2019-08-12 12:11:25 +02:00
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