Andreas Rumpf
c39a799aec
manual: document how accessors are resolved; fixes #11514
...
(cherry picked from commit d9604d7d0b )
2019-07-02 13:54:42 +02:00
Zestyr
62691c5d73
Fix typo in xmltree docs [ci skip]
...
(cherry picked from commit bab83c4d8b )
2019-07-02 13:54:42 +02:00
Araq
ab5bd9e6ff
make tests green again
...
(cherry picked from commit f36a61e6d4 )
2019-07-02 13:54:42 +02:00
Andreas Rumpf
3c3f07cfde
fixes #11445
...
(cherry picked from commit fb878330a9 )
2019-07-02 13:54:41 +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
Miran
712d9ce1b9
[bugfix] fix #11532 , nimpretty should ignore source code filters ( #11603 )
...
(cherry picked from commit f65eaa51f1 )
2019-06-27 20:59:46 +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
e08cf5a947
fixes #11600
...
(cherry picked from commit b6fb47df77 )
2019-06-27 20:59:46 +02:00
Miran
38aa7f6d20
[bugfix] fix #11469 , new rules for a newline in nimpretty ( #11512 )
...
* [bugfix] fix #11469 , new rules for a newline in nimpretty
* concatenate two lines if they have the same indentation level
(cherry picked from commit f288e1b11a )
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
alaviss
6576c1ab5c
[refactor] compiler/[msgs, reorder, semstmts]: use toMsgFilename where appropriate ( #11595 )
...
* compiler/msgs: toMsgFilename now operates on FileIndex
* compiler/reorder: use toMsgFilename for compiler messages
* compiler/semstmts: respect listFullPaths for recursive deps error
(cherry picked from commit 993b3909a8 )
2019-06-27 20:59:45 +02:00
alaviss
8a16fb972b
compiler/[msgs, options]: confine --listFullPaths to compiler messages ( #11583 )
...
* compiler/[msgs, options]: make toFilename independent of listFullPaths
toFilename is used mainly in codegen, as such it should not follow
--listFullPaths
* compiler/msgs: use toMsgFilename for toFileLineCol
This proc is mainly used for compiler messages, so it should follow
--listFullPaths
* compiler/msgs: remove toFileLine
unused proc
* compiler/msgs: cleanup toMsgFilename
Also improved path choosing logic, /home should now be preferred over
../home on *nix
(cherry picked from commit 2f1a1b7106 )
2019-06-27 20:59:45 +02:00
Toshiyuki-Tega
f1b2182035
VCC discovery using vswhere ( #6540 ) ( #11559 )
...
(cherry picked from commit b7f8031e98 )
2019-06-27 20:59:45 +02:00
Juan Carlos
50358e6d4a
Documentation highlite ( #11596 )
...
* Add Documentation with examples for highlite
* Add Documentation with examples for highlite
(cherry picked from commit 206f2478b8 )
2019-06-27 20:59:45 +02:00
Andreas Rumpf
48770b04bd
fixes #11563 ( #11594 )
...
(cherry picked from commit 0f868b587b )
2019-06-27 20:59:45 +02:00
cooldome
7e702d95c1
increase dfa instruction limit ( #11579 )
...
(cherry picked from commit 0d50b0c8a7 )
2019-06-27 20:59:45 +02:00
Jasper Jenkins
8396ddb3a4
[bugfix] remove dangling ref ( #11576 )
...
(cherry picked from commit 91f0626dcb )
2019-06-27 20:59:45 +02:00
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