Gérôme Fournier
8ab0be4530
Fix out of bound access in cgi module ( #11578 )
...
When an HTTP request with a zero CONTENT_LENGTH is made,
attempting to access addr(result[0]) raise an exception as the 0 index
is out of bound
(cherry picked from commit 181350f6c9 )
2019-06-27 20:59:45 +02:00
WhiteDuke
30d7cf02ad
Fix typo ( #11573 )
...
(cherry picked from commit 2a7cf71db3 )
2019-06-27 20:59:45 +02:00
alaviss
98b9ffa3a4
assertions: make assert follow excessiveStackTrace ( #11574 )
...
(cherry picked from commit 403fd3ac43 )
2019-06-27 20:59:45 +02:00
Arne Döring
a5a62b562f
[refactoring] remove zeroExtend and friends from the compiler builtins. ( #11531 )
...
* remove zeroExtend and friends from the compiler builtins.
* fix jssys
(cherry picked from commit e90d91f0e4 )
2019-06-27 20:59:45 +02:00
alaviss
06904a212a
nim.cfg: disable excessiveStackTrace on release ( #11575 )
...
(cherry picked from commit e9a23cee0a )
2019-06-27 20:59:45 +02:00
narimiran
a74104eda5
[documentation] fix #4630 , document unsupported functions for JS
...
(cherry picked from commit 436f570651 )
2019-06-27 18:16:54 +02:00
Simon Krauter
f8087a2815
Spelling fixes in nimc.rst ( #11569 )
...
(cherry picked from commit 800bc661b6 )
2019-06-27 18:15:53 +02:00
Juan Carlos
6a7b490046
[other] Documentation NimScript ( #11548 )
...
* Documentation of NimScript, update and expand, mention the benefits aside of its limitations, add examples, update the list of usable std lib modules
(cherry picked from commit bb9b60604b )
2019-06-27 18:15:46 +02:00
Miran
ceafb7f771
[bugfix] fix OrderedTable iterators ( #11562 )
...
(cherry picked from commit 3d50f7e2a1 )
2019-06-27 18:14:36 +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
ef018d7a63
[bugfix] fixes #11556
...
(cherry picked from commit 35df59b3ce )
2019-06-27 18:14:35 +02:00
narimiran
2a36cb7fc9
[documentation] fix wrong link [ci skip]
...
(cherry picked from commit 12eebf48b6 )
2019-06-27 18:14:35 +02:00
Kaushal Modi
810166ca95
[other] Improve the "tabs are not allowed" error message ( #11554 )
...
(cherry picked from commit a4c613c110 )
2019-06-27 18:14:35 +02:00
Miran
10407fefec
[bugfix] fix delete in strutils and sequtils ( #11535 )
...
(cherry picked from commit 23e95dc629 )
2019-06-27 18:14:35 +02:00
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