Commit Graph

15770 Commits

Author SHA1 Message Date
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
Jjp137
78f4b72d9b random: minor documentation updates (#11831)
Add docs for the sample procs that take in sets, and clean up a
few other minor things.

(cherry picked from commit a906b3952b)
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
52bdb1adc7 fix #11854 (#11857)
(cherry picked from commit 803406d07c)
2019-08-12 11:22:14 +02:00
Dominik Picheta
58772dce2e Fixes subtle SSL recvInto bug.
This resulted in a "value out of range: -1" exception inside `recvInto`
(on the `copyMem` line). Basically readIntoBuf was returning `-1`.

(cherry picked from commit bb949a75db)
2019-08-12 11:10:26 +02:00
Andreas Rumpf
86f2d0adcc IR: minor refactoring
(cherry picked from commit ceb1a1b688)
2019-08-12 11:10:26 +02:00
Andreas Rumpf
3b8241c163 IC: some progress
(cherry picked from commit f58d87cb43)
2019-08-12 11:09:42 +02:00
Andreas Rumpf
6a0e541336 destructors spec: be more precise about temporaries
(cherry picked from commit c9c8fa99cc)
2019-08-12 11:08:57 +02:00
Andreas Rumpf
09570f20cc nimgrep: introduce the --rex option
(cherry picked from commit b9c15371a3)
2019-08-12 11:08:57 +02:00
Andreas Rumpf
d9fd01af88 nimgrep: fixes the -w option
(cherry picked from commit f7c99838e2)
2019-08-12 11:08:57 +02:00
Andreas Rumpf
69c2341663 makes the -d:nimIncremental compiler mode compile again
(cherry picked from commit 25e6c53bb5)
2019-08-12 11:08:38 +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
Giovanni Petrantoni
6fdfdf48de Use proper types according to MSDN and fix clang build of windows dynlib (#11828)
(cherry picked from commit 2fdba334da)
2019-08-12 11:02:43 +02:00
Miran
1ee78916db fix #11772, JS random seed was too large (#11820)
(cherry picked from commit 3bb6d1916e)
2019-08-12 10:52:05 +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
genotrance
8deb9cf14c Fix #10630 - fix broken separators in nim doc (#11814)
(cherry picked from commit 44aadd50cf)
2019-08-12 10:52:05 +02:00
narimiran
a952f4f35d fix asyncftpclient examples [ci skip]
(cherry picked from commit 5484352d26)
2019-08-12 10:52:05 +02:00
narimiran
a84e943e5b fix failing JS tests
(cherry picked from commit 30f2cec671)
2019-08-12 10:50:36 +02:00
Benjamin Summerton
7d9f176f00 Add opacity to JS Style
I noticed this was missing.  It has cross browser support: https://developer.mozilla.org/en-US/docs/Web/CSS/opacity#Browser_compatibility

(cherry picked from commit 46f2271968)
2019-08-12 10:50:36 +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
9e634919d9 style improvements; fixes #11774
(cherry picked from commit 5a020d641d)
2019-08-12 10:22:31 +02:00
Araq
b0ad20404a installer: ship nimpretty.exe on Windows
(cherry picked from commit de69e1856f)
2019-08-12 10:13:35 +02:00
Andreas Rumpf
becb55cf8d async macro: general stability improvements [bugfix] (#11787)
(cherry picked from commit 70e8551e37)
2019-08-12 10:13:35 +02:00
Jörg Wollenschläger
c87236c61f Fix the range of destroyed elements when shrinking a seq (#11785)
(cherry picked from commit 903d06bab8)
2019-08-12 10:13:04 +02:00
narimiran
864f1094ef Revert "[refactoring] don't use 'defer'"
This reverts commit 1bc3f44f1a.
2019-07-22 11:35:45 +02:00
Araq
4b0de0ca6f nimpretty: fixes #11616
(cherry picked from commit 6d8913ee14)
2019-07-19 16:47:36 +02:00
Araq
ace3b341a3 nimpretty: fixes #11699
(cherry picked from commit 7deb49e992)
2019-07-19 16:47:36 +02:00
Araq
ce7a0e3ffb [refactoring] nimpretty
(cherry picked from commit 5b7273b4f8)
2019-07-19 16:47:28 +02:00
Araq
ddc02649a6 [refactoring] remove unused imports in the compiler and in some stdlib modules
(cherry picked from commit 07d465ca42)
2019-07-19 16:46:51 +02:00
narimiran
3c6d442ce5 update changelogs [ci skip]
(cherry picked from commit f50e4500c2)
2019-07-19 16:46:32 +02:00
Kaushal Modi
469e3a5f59 [bugfix] Make std/unicode compile with --styleCheck:error (#11763)
(cherry picked from commit d40872bf9b)
2019-07-19 16:46:08 +02:00
Kaushal Modi
d8d0aad906 [bugfix] Make std/unittest compile with --styleCheck:error (#11762)
(cherry picked from commit 404b224945)
2019-07-19 16:46:08 +02:00
Andreas Rumpf
1bc3f44f1a [refactoring] don't use 'defer'
(cherry picked from commit 210988c532)
2019-07-19 16:44:31 +02:00
Kaushal Modi
555634aa94 Fix compilation warning in macros.nim
Fixes:

> macros.nim(1423, 35) Warning: `typed` will change its meaning in future versions of
  Nim. `void` or no return type declaration at all has the same
  meaning as the current meaning of `typed` as return type declaration. [Deprecated]

(cherry picked from commit dcbb2d66da)
2019-07-19 16:26:26 +02:00
Andreas Rumpf
6abbef3eb9 fixes a critical 'nim secret' regression
(cherry picked from commit 43940294c5)
2019-07-19 16:25:39 +02:00
narimiran
e043a92501 bump version to 0.20.3 2019-07-19 16:15:59 +02:00
narimiran
88a0edba4b bump version to 0.20.2 v0.20.2 2019-07-16 21:24:02 +02:00
Kaushal Modi
5a12553394 [bugfix] critbits styleCheck fix: consistent var naming (#11752)
(cherry picked from commit 44d80dd863)
2019-07-16 21:21:59 +02:00
Kaushal Modi
7469f5fa78 [bugfix] openssl styleCheck fix: consistent var naming (#11750)
(cherry picked from commit 3f7142fcfd)
2019-07-16 21:21:59 +02:00
Kaushal Modi
6bd301ca9c styleCheck fix: type naming: s/outType/OutType/ (#11749)
(cherry picked from commit 0b511b15ea)
2019-07-16 21:21:59 +02:00
Tristano Ajmone
0047f7cf4f Fix Typos in Internal Docs (#11735) [ci skip]
(cherry picked from commit 8550a8127c)
2019-07-16 21:21:47 +02:00
Araq
8be734bf46 fixes #11723
(cherry picked from commit 76f9ddb6ab)
2019-07-16 21:21:47 +02:00
narimiran
9b0cb52d74 styleCheck fix 2019-07-16 10:17:00 +02:00
Kartik Saranathan
1aefa74e46 fix broken link (#11736) [ci skip]
(cherry picked from commit ec9d0ee86d)
2019-07-15 16:18:34 +02:00
Araq
c0085bc2b7 styleCheck fixes [bugfix]
(cherry picked from commit dd7dd1b6dc)
2019-07-15 16:18:17 +02:00
Araq
43cba52ed8 styleCheck fixes [bugfix]
(cherry picked from commit ad67a46e5d)
2019-07-15 16:18:17 +02:00