Commit Graph

7171 Commits

Author SHA1 Message Date
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
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
69c2341663 makes the -d:nimIncremental compiler mode compile again
(cherry picked from commit 25e6c53bb5)
2019-08-12 11:08:38 +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
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
Araq
9e634919d9 style improvements; fixes #11774
(cherry picked from commit 5a020d641d)
2019-08-12 10:22:31 +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
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
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
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
narimiran
e043a92501 bump version to 0.20.3 2019-07-19 16:15:59 +02:00
narimiran
88a0edba4b bump version to 0.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
Araq
8be734bf46 fixes #11723
(cherry picked from commit 76f9ddb6ab)
2019-07-16 21:21:47 +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
Araq
d6d5dd30e9 styleCheck fixes [bugfix]
(cherry picked from commit 52cbd0c558)
2019-07-15 16:18:17 +02:00
Araq
073651237a newruntime: progress to make 'async' work with --newruntime
(cherry picked from commit edbe02b4e1)
2019-07-15 16:18:17 +02:00
Araq
ac41aec348 minor update for the genode target
(cherry picked from commit fab70e4fe3)
2019-07-15 16:18:17 +02:00
alaviss
c4cbc5f449 os: confine osErrorMsg example to Linux (#11725)
POSIX does **not** define the exact number for each errors. This caused
a failure in docs building on Haiku.

(cherry picked from commit a59fb5b352)
2019-07-15 16:18:17 +02:00
Jacek Sieka
d5d661b70e times: use posix constant instead of import (#11692)
* times: use posix constant instead of import

* simplify clock id usage

(cherry picked from commit cf36e4a44a)
2019-07-15 16:18:17 +02:00
Araq
876d0aaade made --newruntime ready for multi-threading
(cherry picked from commit 416ba133ad)
2019-07-15 08:06:47 +02:00
Araq
8b6ea5d451 atomics.nim: minor improvements
(cherry picked from commit bb5ca0772e)
2019-07-15 08:06:47 +02:00
Araq
a59efc53f2 preparations to be able to use atomics in runtime_v2.nim
(cherry picked from commit 03ded27021)
2019-07-15 08:06:47 +02:00
Araq
6f214131a2 JS codegen: supports toOpenArray [bugfix]
(cherry picked from commit eaf4b42ff9)
2019-07-15 08:03:53 +02:00
Dominik Picheta
93b58ebe1b Give NilAccessError a message (#11706)
(cherry picked from commit b8be1ccb85)
2019-07-15 08:03:16 +02:00
Andreas Rumpf
f7b061f597 make async tests green again
(cherry picked from commit ac458448d8)
2019-07-15 08:03:16 +02:00
Araq
e34a318b9f minor style changes
(cherry picked from commit cb3c3c306c)
2019-07-15 08:03:16 +02:00
Araq
641d1e1175 minor style changes
(cherry picked from commit 38bdf1cd7f)
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
3d33e96388 make editdistance work with --styleCheck:error
(cherry picked from commit dc0bbba3fa)
2019-07-15 07:59:14 +02:00
Araq
3866e3302a make more parts of the stdlib compile with --styleCheck:error
(cherry picked from commit bc7733827d)
2019-07-15 07:59:14 +02:00
Araq
694d57c899 styleCheck: make the compiler and large parts of the stdlib compatible with --styleCheck:error
(cherry picked from commit c94647aeca)
2019-07-15 07:58:45 +02:00
Araq
8a5860d196 style changes
(cherry picked from commit ff4a9a226f)
2019-07-15 07:58:27 +02:00
Araq
b3b10ec849 minor system.nim style changes
(cherry picked from commit c6c9e30379)
2019-07-15 07:58:27 +02:00
Miran
c4e26f7400 [other] prettify collections (#11695)
(cherry picked from commit 2255d8795b)
2019-07-15 07:58:27 +02:00
Araq
ab98141c75 newruntime: async progress
(cherry picked from commit 55e8aefbea)
2019-07-15 07:58:27 +02:00
Araq
808746e864 newruntime: map system.reset to =destroy
(cherry picked from commit ad58ed344a)
2019-07-15 07:58:27 +02:00
Araq
12baecb42d async: more 'owned' annotations
(cherry picked from commit 7993d61d00)
2019-07-15 07:58:26 +02:00
Araq
a144bc96b9 asyncmacro produces 'owned' types
(cherry picked from commit 2c2f2de614)
2019-07-15 07:58:26 +02:00
Andreas Rumpf
78b665cc7f fixes #11530
(cherry picked from commit 124a584eb2)
2019-07-15 07:58:26 +02:00