Andreas Rumpf
af7f7726fe
ORC: make the adaptive strategy the default in order to fight memory consumption ( #16250 )
...
* ORC: make the adaptive strategy the default in order to fight memory consumption
* added missing test case
2020-12-05 23:15:17 +01:00
Andreas Rumpf
edce5897a5
fixes #16214 [backport] ( #16252 )
2020-12-04 17:47:41 +01:00
Andrey Makarov
6877e0c8a3
RST tables: fix latex col number; allow less than three of = ( #16040 )
2020-12-04 08:50:17 +01:00
flywind
e4e5a0c65a
cleanup docs and tests ( #16235 )
...
* js module also uses runnableExamples
* cleanup docs and tests
2020-12-03 22:59:17 +01:00
Antonis Geralis
808ab7eae2
add collect with infered init, refs #16078 fixes #14332 ( #16089 )
...
* changelog
* add testcase, fixes #14332
2020-12-03 20:32:18 +01:00
Miran
2220aaeaef
add support for parsing chars in scanf macro ( #16240 )
2020-12-03 17:34:30 +01:00
Alf-André Walla
545c406cbe
Add 32-bit RISC-V support ( #16231 )
2020-12-03 17:33:42 +01:00
Andrey Makarov
e223a05123
minor fix to Posix part of walkDir ( #16234 )
...
* change break->continue and rewrite one-yield-style
* use case statement for clarity
* Tiny nit
Co-authored-by: Clyybber <darkmine956@gmail.com >
2020-12-03 17:09:54 +01:00
flywind
b1554cfeb5
better setops docs ( #16236 )
...
* js module also uses runnableExamples
* better setops docs
* Update lib/system/setops.nim
* better
* Update lib/system/setops.nim
* Update lib/system/setops.nim
* better
* better
2020-12-03 14:47:44 +01:00
Aditya Siram
23447ffdce
Fixes #16219 , hasArgOfName ignoring argument sets. ( #16233 )
...
* Fixes #16219 , `hasArgOfName` ignoring argument sets.
* Fix test and simplify ident traversal.
* Moved test into a block and removed some boilerplate.
* Fix some argument formatting.
* use ..<
* Change the preceding line too
Co-authored-by: Clyybber <darkmine956@gmail.com >
2020-12-03 13:40:28 +01:00
ee7
629b22e3d5
styleCheck: Fix error for sugar and std/with ( #16176 )
...
With this commit, we no longer see an error if we pass
`--styleCheck:error` when compiling a file that contains `import sugar`
or `import std/with`.
The problem was that those modules (and only those modules) import
`std/private/underscored_calls`, which contained a styleCheck issue:
its spelling of `nnkArgList` didn't match the `nnkArglist` spelling in
`macros.nim`.
This commit fixes the issue by renaming `nnkArgList` to `nnkArglist`
repo-wide. The other way around would be a breaking change for code that
used `nnkArglist` and `--styleCheck:error`.
Fixes : #16174
2020-12-02 20:48:16 +01:00
flywind
139075e965
move decode_helpers to std/private ( #16209 )
2020-12-02 10:30:55 -08:00
Clyybber
af984a3db9
Fix typo and improve grammar for clamps note
2020-12-02 17:18:51 +01:00
flywind
d2bf0fb43c
small style changes and clarify clamp ( #16228 )
...
* [docs minor]better comparisons docs
* switch from PRNG to random module
* apply suggestions
* not compile
* Revert "switch from PRNG to random module"
This reverts commit 83b4d8946d .
* small style changes and clarify clamp
2020-12-02 17:06:23 +01:00
flywind
148d614dff
js module also uses runnableExamples ( #16229 )
2020-12-02 16:24:59 +01:00
flywind
e875f27ee6
[docs minor] better comparisons docs ( #16201 )
2020-12-02 09:34:34 +01:00
ihlec
5c23ba7545
fixed article duplication typos ( #16216 )
2020-12-02 09:15:29 +01:00
flywind
9fa5826d62
minor typo ( #16225 )
2020-12-02 10:23:38 +08:00
treeform
cabfc7ec5c
Don't add content-length header on GET request when there is no body. ( #16196 )
...
* Don't add content-length header on GET request when there is no body.
* Add space between the not and the (.
* Take Dom's suggestion.
2020-12-01 23:29:15 +01:00
Andreas Rumpf
ae9fe2b2f9
ORC: API extensions ( #16126 )
...
* ORC: API extensions
* ORC: exploit a common special case
2020-12-01 22:34:52 +01:00
flywind
62eb1312a0
minor improve the docs of parsecfg ( #16208 )
2020-12-01 21:06:37 +01:00
flywind
c65f95417a
better addInt ( #16160 )
...
* better addint
* Update lib/system/strmantle.nim
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
2020-12-01 20:19:39 +01:00
hlaaftana
1d1b3f79fd
fix broken => for typed procs with pragmas ( #16190 )
...
* fix broken => for typed procs with pragmas
* add more sugar tests
* add ending quote
2020-12-01 12:01:36 +01:00
Bung
5a43a20f53
toXXAscii use xor op, saving 30%~50% time ( #16193 )
...
* toXXAscii use xor op, saving 30%~50% time
* Update lib/pure/strutils.nim
Co-authored-by: hlaaftana <10591326+hlaaftana@users.noreply.github.com >
* Update lib/pure/strutils.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
Co-authored-by: hlaaftana <10591326+hlaaftana@users.noreply.github.com >
2020-11-30 18:24:12 +01:00
flywind
735c06d7f1
small runnableExamples changes ( #16181 )
2020-11-30 10:18:47 +01:00
Timothee Cour
d29eddf92a
experimental/diff: move isMainModule block to tests/stdlib/tdiff.nim ( #16172 )
2020-11-28 11:59:08 -08:00
flywind
c555525227
fix #13115 ( #15930 )
...
* fix #13115
* fix testament
2020-11-27 21:04:36 +01:00
flywind
bc1db0d6f1
move rest of tests to testament ( #16140 )
...
* move rest of tests to testament
* Update tests/stdlib/tsums.nim
2020-11-27 20:47:49 +01:00
Andreas Rumpf
c9a10bb9e4
fixes #16154 ; underlying system.add for seq is the real cause; will be addressed in a follow-up PR ( #16161 )
2020-11-27 15:26:57 +01:00
flywind
70a1c42542
add ** to jsffi ( #16141 )
...
* fix rope index
* add testcase
* fix ropes format
* add `**` to jsffi
* add testcase
* changelog
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2020-11-26 20:30:19 +01:00
flywind
e7e9007c4c
ref #16054 undefine some stuff in JS backend ( #16070 )
2020-11-26 11:08:53 +01:00
flywind
0b3a45692c
improve docs for prelude ( #16135 )
...
* improve docs for prelude
* better
2020-11-26 10:57:05 +01:00
Andreas Rumpf
da753c6a2e
fixes #15076 ( #16143 )
...
* fixes #15076
* heapqueue: optimized for ARC
* added another test case [backport:1.4]
* code cleanup
2020-11-26 10:24:52 +01:00
flywind
7848da7abe
inc and dec are atomic in JS backend ( #16129 )
2020-11-25 14:09:03 +01:00
Antonis Geralis
e220f756e7
fix for comparing infinities ( #16122 )
2020-11-25 10:15:34 +01:00
flywind
b7809cc992
improve the documentation of ropes ( #16111 )
2020-11-25 07:42:25 +01:00
flywind
19e224866b
add simple writeStackTrace for JS backend ( #16016 )
...
* add simple writeStackTrace for JS backend
* add testcase for writeStackTrace
* changelog
2020-11-24 19:45:06 +01:00
flywind
d2c6ac4750
add simple runnableExamples for atomics ( #16116 )
2020-11-24 19:19:03 +01:00
flywind
cbc793b30b
move tests to testament ( #16101 )
...
* move tests to testament
* minor
* fix random
* disable test random
2020-11-24 19:06:41 +01:00
flywind
afb8b69c0a
improve document for heapqueue ( #16107 )
2020-11-24 14:29:34 +01:00
flywind
823a71380d
fix #16103 ( #16109 ) [backport:1.0]
...
* fix #16103
* docs
2020-11-24 12:37:41 +01:00
flywind
e4d0f9f3de
typeinfo minor improvement ( #16083 )
...
* typeinfo minor improvement
* minor
* Update lib/core/typeinfo.nim
* rename typeinfo
2020-11-23 22:56:30 +01:00
kemifl
a764a5b9bc
fix #14056 ( #16071 )
...
fix #14056 , incorporate review comments
2020-11-23 19:53:57 +01:00
flywind
0c6c4be0e7
fix ropes format errors ( #16106 ) [backport:1.0]
...
* fix rope index
* add testcase
* fix ropes format
2020-11-23 19:23:52 +01:00
flywind
7fc0c3dfbf
ref #5617 add lineinfo to complete ( #16102 )
2020-11-23 17:49:40 +01:00
RokkuCode
ffccdf3c1a
fixes #16080 ( #16091 ) [backport:1.2]
...
* fixes #16080
db_sqlite: Error: undeclared field: 'untypedLen'
* redacting fix
2020-11-23 15:15:55 +01:00
flywind
79ec1bdcbb
correct errors in xmltree docs ( #16104 )
2020-11-23 10:36:05 +00:00
flywind
ab2c082cb3
fix rope index ( #16100 )
...
* fix rope index
* add testcase
2020-11-23 10:27:09 +00:00
flywind
6f1a72069a
fix #9695 asyncmacro: tfuturevar fails when activated [backport: 1.0] ( #16090 )
...
* fix asyncmacro
* Apply suggestions from code review
* Update lib/pure/asyncmacro.nim
2020-11-22 17:16:42 +01:00
flywind
f1764aaa9e
sets minor improvement ( #16087 )
2020-11-21 12:50:23 -08:00