3816 Commits

Author SHA1 Message Date
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
Andreas Rumpf
905fc43abe newruntime: added yet another test
(cherry picked from commit 0adb1c6223)
2019-06-20 11:59:50 +02:00
Andreas Rumpf
aacc97e854 [bugfix] owned closures (#11544)
(cherry picked from commit c65a5d754b)
2019-06-20 11:59:50 +02:00
Araq
8d46524b1b [bugfix] fixes #11517
(cherry picked from commit ab36ffbeb1)
2019-06-20 11:55:37 +02:00
Charles Blake
464142683f [bugfix] fix #11430, strutils rfind (#11487) 2019-06-16 17:44:06 +02:00
Dominik Picheta
4f69f7b62d [bugfix] Fixes async IO operations stalling even after socket is closed. (#11232)
(cherry picked from commit 73c44c6e9b)
2019-06-16 17:18:58 +02:00
Arne Döring
4c8a02165e [refactoring] refactor the compiler and stdlib to deprecation warnings (#11419)
(cherry picked from commit c7e1c665a1)
2019-06-16 17:17:41 +02:00
narimiran
8dfebb3282 Revert "VM can now cast integer type arbitrarily. (#11459) [feature]"
This is a new feature, which shouldn't be backported.
2019-06-16 17:15:23 +02:00
Andreas Rumpf
51ac2e67bf newruntime: added a basic table test 2019-06-11 08:58:11 +02:00
Kaushal Modi
2334680b3d Use TMPDIR env var if available to get the temp dir name (#11443) [bugfix]
Additionally, use normalizePathEnd to suffix the dir name with "/" or
"\" as appropriate for the current OS.

Fixes https://github.com/nim-lang/Nim/issues/11439.
2019-06-10 19:59:51 +02:00