Commit Graph

15564 Commits

Author SHA1 Message Date
Miran
d5ea497cff [bugfix] correct 'source' for documentation (#11540)
(cherry picked from commit d6b0e46ee4)
2019-06-27 18:13:55 +02:00
Miran
c6ab69b84e [bugfix] fix OrderedTable default initialization (#11549)
(cherry picked from commit 45bbf1ef5b)
2019-06-27 18:13:55 +02:00
Andreas Rumpf
edc151fa64 [other] new experimental pragma .nodestroy for easier custom destructors
(cherry picked from commit 55da84e141)
2019-06-27 18:13:55 +02:00
Andreas Rumpf
6d977e66cb [other] added system.dispose for owned refs
(cherry picked from commit f310cf5250)
2019-06-27 18:13:55 +02:00
Andreas Rumpf
f3ae2dcfa3 [bugfix] system.nim: make pop work with --newruntime
(cherry picked from commit 280193cc07)
2019-06-27 18:13:55 +02:00
Andreas Rumpf
cd49bba7b3 [bugfix] proper destruction for strings/seqs for --newruntime
(cherry picked from commit 7e4748beee)
2019-06-27 18:13:55 +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
Araq
cb4bb4d6c7 [bugfix] newruntime: trivial closure iterator works
(cherry picked from commit 6adcc09877)
2019-06-20 11:59:50 +02:00
Araq
cd35f9664c [refactoring] closureiters.nim: style change
(cherry picked from commit c83914b435)
2019-06-20 11:59:50 +02:00
Araq
0ba1624325 wip
(cherry picked from commit 50afafdb38)
2019-06-20 11:59:50 +02:00
Andreas Rumpf
6ad45a1c97 WIP: closures for the newruntime [ci skip]
(cherry picked from commit af10788dcc)
2019-06-20 11:59:50 +02:00
narimiran
5cf9cbe9a5 [bugfix] fix #11546, correct link for sequtils
(cherry picked from commit 16d81fa205)
2019-06-20 11:59:50 +02:00
narimiran
9789146899 [bugfix] fix #11543, add std/sums to theindex.html
(cherry picked from commit 96bed814d2)
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
Arne Döring
e0b41736b3 change newLit on Seq (#11542)
(cherry picked from commit 1a074fffa4)
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
Araq
3aa034f40d libffi: style changes
(cherry picked from commit ff89f7e33a)
2019-06-20 11:55:24 +02:00
Miran
eb9ac127b9 [other] update homebrew, fix travis fails on OSX (#11541)
(cherry picked from commit ae5a4cea98)
2019-06-20 11:54:46 +02:00
narimiran
22c515b067 [other] documentation: deprecation comments are now auto-generated
(cherry picked from commit cf47c2c60c)
2019-06-20 11:54:46 +02:00
alaviss
4c7dec34d5 [bugfix] gc_common: export foreign thread gc docs (#11536)
(cherry picked from commit 24ac13f653)
2019-06-20 11:54:46 +02:00
Araq
81f15184e5 fixes #11436
(cherry picked from commit 296c48de5e)
2019-06-20 11:53:37 +02:00
Phạm Ngọc Quang Nam
368e12ed36 [bugfix] Fix smtp.nim unhandled exception (#11498)
(cherry picked from commit 7c637c2faf)
2019-06-20 11:53:08 +02:00
Araq
c57485e67b add HCR document to the tools.rst list
(cherry picked from commit c99ce5051e)
2019-06-20 11:52:51 +02:00
Araq
2d606e38ea HCR: better documentation
(cherry picked from commit 38f05bb9a3)
2019-06-20 11:52:44 +02:00
Benjamin Summerton
c1097ea949 Add cbrt() bindings for the JS Target (#11528)
`Math.cbrt()` exists:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/cbrt

The binding was missing for the JavaScript backend.

(cherry picked from commit a009cbdc2f)
2019-06-20 11:52:37 +02:00
Miran
4144893ba2 [bugfix] fix #11450, random.initRand crashes in JS backend (#11522)
(cherry picked from commit ac3449b93b)
2019-06-20 11:49:17 +02:00
Miran
dacd1d071a [bugfix] fix #11482, fix nimsuggest range error (#11519)
The default starting parameters for `line` and `col` were switched.

See line 141: "line starts at 1, column at 0, dirtyfile is optional".
Also, in `TLineInfo` object, `line` is uint16, `col` is int16.

(cherry picked from commit 6cad5c7861)
2019-06-20 11:49:07 +02:00
narimiran
1348cb525b [other] introduce a separate changelog for backports, update
contributing guidelines

(cherry picked from commit b70fd0400e)
2019-06-20 11:48:32 +02:00
Juan Carlos
77166176b2 [bugfix] Fixes #11434 , Update Tools Documentation (#11449)
(cherry picked from commit eb087b3546)
2019-06-20 11:46:12 +02:00
Juan Carlos
e15ce6bdeb [bugfix] Fixes #11495 , Remove TinyC from help (#11508)
(cherry picked from commit aa7f23e1ee)
2019-06-20 11:46:12 +02:00
Charles Blake
464142683f [bugfix] fix #11430, strutils rfind (#11487) 2019-06-16 17:44:06 +02:00
Kaushal Modi
7095a3dfa4 [bugfix] Fix the link to "For Loop Macro" section (#11505)
(cherry picked from commit d1ce86fdc6)
2019-06-16 17:19:43 +02:00
SolitudeSF
7e235779f0 [bugfix] Add .47 as supported libssl version
(cherry picked from commit e96afd6324)
2019-06-16 17:19:43 +02:00
Kaushal Modi
b68ee27dd5 [bugfix] Minor formatting fix in tut2 [ci skip] (#11501)
Monospace `untyped` like elsewhere in the tutorial.

(cherry picked from commit c656714623)
2019-06-16 17:19:43 +02:00
Araq
63116d94ae [bugfix] nimpretty: better alignment; fixes #11467
(cherry picked from commit 57a83df745)
2019-06-16 17:19:43 +02:00
Juan Carlos
01fcde2146 [bugfix] document the norewrite pragma (#11453)
* fixes #9454
* Peer review feedback, wording, move to experimental manual

(cherry picked from commit 80320c72d3)
2019-06-16 17:19:43 +02:00
Jasper Jenkins
ea4d72a379 [refactoring] error instead of quit for basename (#11491)
(cherry picked from commit bda9fd149c)
2019-06-16 17:19:43 +02:00
Jasper Jenkins
78c6f01b90 [bugfix] fix quit errormsg in nimvm (#11490)
(cherry picked from commit 06ef56ba72)
2019-06-16 17:18:58 +02:00
Simon Krauter
41e0fc593c Update tut1: -d:release does not turn off *allruntime checks off anymore (#11492)
According to https://nim-lang.org/blog/2019/06/06/version-0200-released.html
"The -d:release switch now does not disable runtime checks anymore. "

(cherry picked from commit e2f99a2026)
2019-06-16 17:18:58 +02:00
Araq
21910d6eb1 [bugfix] nimpretty: fixes #11470
(cherry picked from commit 165ea46284)
2019-06-16 17:18:58 +02:00
Araq
7bfde5fa40 [bugfix] nimpretty: fixes #11468
(cherry picked from commit af39f26a3a)
2019-06-16 17:18:58 +02:00
Araq
9e28b3ccc9 [other] nimsuggest: adhere to our style guide
(cherry picked from commit b70295c768)
2019-06-16 17:18:58 +02:00
alaviss
b4464f1dfa [other] appveyor: use official dlls on nim-lang.org (#11473)
(cherry picked from commit 08fdffc717)
2019-06-16 17:18:58 +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
Jasper Jenkins
6530a4100a [bugfix] fix nimpretty for absolute paths (#11480)
(cherry picked from commit da035e9c83)
2019-06-16 17:17:42 +02:00
Araq
9797da3615 [refactoring] liftdestructors.nim is callable from lambdalifting; refs #11217
(cherry picked from commit b056d32a79)
2019-06-16 17:17:41 +02:00
Arne Döring
0af9085e78 fix regression in semfold for old right shift (#11477)
(cherry picked from commit e4d0f4fee0)
2019-06-16 17:17:41 +02:00
Araq
e1c29d7a19 [refactoring] liftdestructors is now a module of its own
(cherry picked from commit c07973e313)
2019-06-16 17:17:41 +02:00