flywind
0bfa0fcaea
[docs minor] unify generates and Generates ( #15434 )
...
* [docs] unify generates and Generates
* fix typo
2020-10-01 15:17:16 +02:00
Juan Carlos
5e160bff1b
Add critbits.toCritBitTree ( #15444 )
...
* Add critbits.toCritBitTree
* https://github.com/nim-lang/Nim/pull/15444#discussion_r498035342
2020-10-01 15:11:10 +02:00
Juan Carlos
79a92da8ef
Clean out ( #15440 )
2020-10-01 12:39:50 +02:00
Juan Carlos
4e7d383f29
Clean out jssys ( #15442 )
2020-10-01 11:21:27 +02:00
Juan Carlos
6b3654c48d
Add 1 overload to apply ( #15439 )
2020-10-01 09:22:22 +02:00
Miran
eb2a4961c7
various documentation fixes [backport] ( #15422 )
2020-09-29 23:43:12 +02:00
shirleyquirk
f8866598e7
odbc regression from #14357 ( #15417 )
...
#14357 changed from sending 'val', an int, to a pointer to int, which is understandable, but not how SQLSetEnvAttr works.
"Depending on the value of Attribute, ValuePtr will be a 32-bit integer value or point to a null-terminated character string"
2020-09-29 17:08:24 +02:00
Yuriy Glukhov
22d0a39932
Dont assert on setstacksize result in iOS ( #15427 ) [backport:1.2]
2020-09-29 16:55:53 +02:00
Andreas Rumpf
50b6f6996a
.noalias annotation; frontend support ( #15419 )
...
* .noalias annotation; frontend support
* added .noalias support to Nim; implements https://github.com/nim-lang/RFCs/issues/204
2020-09-28 13:51:39 +02:00
Andreas Rumpf
453167a41e
cleanup lib/system/stacktraces.nim; refs #15416 ( #15418 )
2020-09-28 10:51:13 +02:00
Miran
2de6e18774
fix #11537 , correct parse inline code without surrounding spaces ( #15399 )
2020-09-25 09:25:47 +02:00
Andreas Rumpf
e9fa486493
fixes #14983 ( #15320 )
...
* fixes #14983
* allow bootstrapping with 0.20
* added a test case for the new system.add with a sink parameter
* make npeg green again
2020-09-25 08:49:21 +02:00
Miran
496e9f74e1
fix #14474 , crash inside of a sole code-block ( #15402 )
2020-09-24 16:41:08 +02:00
flywind
e85c5ad379
fix #15333 ( #15336 )
2020-09-24 08:54:13 +02:00
Andreas Rumpf
e2d80b15a6
finish the stacktraces.nim implementation [backport:1.2] ( #15393 )
2020-09-23 10:01:52 +02:00
Miran
11c377c114
add enumerate macro ( #15297 )
...
* add `enumerate` macro
* address the comments
* put `enumerate` in its own module
2020-09-22 13:08:36 +02:00
flywind
ab05e141c0
deinitLock ( #15383 )
...
* deinitLock
* minor
2020-09-22 13:07:31 +02:00
Andreas Rumpf
1fae66e4df
better nativestacktrace support; refs #15284 ; backport [1.2] ( #15384 )
...
* nimStackTraceOverride: enable stack traces in exceptions
This is a two-step stack trace collection scheme, because re-raised
exceptions will collect multiple stack traces but use them rarely, when
printing info about an uncaught exception, so it makes sense to only do
the cheap stack unwinding all the time and the relatively expensive
debugging information collection on-demand.
`asyncfutures` implements its own `$` proc for printing
`seq[StackTraceEntry]`, so we have to add the debugging info there, just
like we do for the private `$` proc in `system/excpt`.
* cleaned up PR #15284
Co-authored-by: Ștefan Talpalaru <stefantalpalaru@yahoo.com >
2020-09-22 13:03:24 +02:00
Clyybber
d67c5cb751
Add strutils.indentation and make unindent use it ( #15264 )
...
* Add strutils.indentation and make unindent use it
* Code style
* Fix bootstrapping
* Improve wording
* Fix test
* Introduce without breaking change
* Fix
* Reduce diff
* Fix docs link
* Add since annotation
* Update changelog
2020-09-22 10:43:12 +02:00
alaviss
aca9c5fb30
os: make getApplFreebsd available for NetBSD ( #15381 )
...
NetBSD was switched to getApplFreebsd() in #15359 , however the proc was
not made available for the said target.
This commit exposes `getApplFreebsd()` to NetBSD.
2020-09-21 19:52:44 +02:00
Miran
4645183272
fix #6430 , support :target: for images ( #15379 )
2020-09-21 17:01:12 +02:00
Andreas Rumpf
04cecdf9c2
async: removed the 'unown' references, async never worked with --newruntime anyway and --newruntime is dead ( #15374 )
2020-09-20 18:01:07 +02:00
Araq
33be7c6f5e
arc: =deepcopy fixes
2020-09-20 10:43:57 +02:00
Andreas Rumpf
ebb632ccba
fixes #15369 ( #15371 )
2020-09-20 01:07:13 +02:00
Andreas Rumpf
a15d77df7e
ORC/ARC async progress ( #15370 )
...
* ARC/ORC: fixes memory leak for empty seqs that have a non-zero capacity
* async: minor refactorings
* it helps to finish a refactoring
2020-09-20 00:27:32 +02:00
Andreas Rumpf
cbdda631db
base64: fixes the error message for an invalid base64 input character [backport:1.2]
2020-09-20 00:05:41 +02:00
Andreas Rumpf
9a34009f00
ORC and stdlib optimizations ( #15362 )
2020-09-19 00:27:43 +02:00
Timothee Cour
8ae4a774b7
doc fix typo in lib/pure/httpclient.nim ( #15364 )
2020-09-19 00:20:41 +02:00
Euan
ae1f5c1559
Use sysctl on NetBSD to get exe name ( #15359 )
2020-09-18 22:26:53 +02:00
yatsen1
341cd844b2
fix coro proc crash for stack problem when run long enough than a GC cycle ( #7612 ) ( #11410 )
...
Co-authored-by: drswinghead <drswinghead@gmail.com >
Co-authored-by: Clyybber <darkmine956@gmail.com >
2020-09-18 17:17:09 +02:00
Andreas Rumpf
d19316bbb9
more ORC bugfixes ( #15355 )
...
* introduced --define:nimArcIds
* ORC: bugfixes
2020-09-18 11:55:58 +02:00
narimiran
59b7857167
bump NimVersion to 1.3.7
2020-09-18 11:50:15 +02:00
Andreas Rumpf
2671efab78
async: minor refactorings ( #15354 )
2020-09-18 11:22:34 +02:00
flywind
c57023f324
string is not nil anymore ( #15352 )
2020-09-18 10:02:31 +02:00
Andreas Rumpf
bc9967f05a
Revert "Introduce explicit copy ( #15330 )" ( #15346 )
...
This reverts commit a3e9cc5234 .
2020-09-16 23:24:17 +02:00
Yuriy Glukhov
28a64869f0
Fixed undeclared nimIdentNormalize compilation error in parseEnum ( #15343 )
2020-09-16 19:41:57 +02:00
Andreas Rumpf
8b66412a8b
fixes #9754 [backport] ( #15342 )
2020-09-16 19:41:14 +02:00
cooldome
341be0b61c
proc params as syms ( #15332 )
...
* proc params are now syms
* Fix typesrenderer
* Add testcase for disrupteks issue
* fix test
* Trigger build
* Trigger build
* Trigger build
Co-authored-by: Clyybber <darkmine956@gmail.com >
2020-09-16 17:25:24 +01:00
cooldome
a3e9cc5234
Introduce explicit copy ( #15330 )
2020-09-16 17:26:45 +02:00
flywind
de7f2372be
docs minor and #15335 ( #15337 )
2020-09-16 14:58:50 +02:00
Andreas Rumpf
fd31e8ff6f
allow old styled RTTI for arc/orc ( #15331 )
2020-09-16 14:57:01 +02:00
Andreas Rumpf
bc179ccc3f
fixes #15076 ( #15329 )
2020-09-15 12:40:23 +02:00
Andreas Rumpf
c38487aa22
fixes a critical ORC bug, refs #15076 ( #15323 )
2020-09-14 12:50:23 +02:00
flywind
366216da64
fix cookie with comma ( #15319 )
2020-09-14 09:00:29 +02:00
Juan Carlos
a667475aaf
dom.Navigator add missing attributes ( #15310 )
...
* Add missing attributes and methods to dom.Navigator
* Add missing attributes and methods to dom.Navigator
* Add missing attributes and methods to dom.Navigator
2020-09-14 08:58:21 +02:00
Jaremy Creechley
6c49767a6c
Fixing issue #15302 -- lwip doesn't support signals ( #15303 )
...
* Fixing issue #15302 -- lwip doesn't support signals
* Adding test to catch issue #15302 -- lwip/freertos net library
don't try to build / run on windows, it'll compile only but not run
Fixing issue #15302 -- reworking test to compile on other platforms
2020-09-14 08:57:49 +02:00
flywind
a41b243fea
remove annoying messages when creating orderedTables ( #15309 )
...
* nativesockets docs minor [backport: 1.2]
* remove annoying messages
2020-09-12 10:34:11 +02:00
narimiran
5f08d39398
fix broken links in the documentation
2020-09-12 09:22:14 +02:00
Araq
9e4920c068
fixes #15021
2020-09-11 14:21:09 +02:00
Juan Carlos
c4e03b540e
Fix #15183 ( #15300 )
2020-09-11 08:57:57 +02:00