Commit Graph

18268 Commits

Author SHA1 Message Date
cooldome
bb4b27a2ca fix #16185 (#16195)
* fix #16185

* fix test

* fix comment

* fix comment

* better approach
2020-11-30 18:45:37 +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
narimiran
dd5405cbcf disable testing of argparse package until it is fixed 2020-11-30 08:54:49 +01:00
flywind
358963193f cleanup old codes (#16173) 2020-11-30 09:41:50 +08:00
Timothee Cour
31a8cf16bb testament spec: remove errmsg alias of errormsg (#16188) 2020-11-29 17:32:34 -08:00
Timothee Cour
6114df3c24 testament: error instead of silently overwrite a spec (#16166) 2020-11-29 10:42:50 -08:00
Timothee Cour
d29eddf92a experimental/diff: move isMainModule block to tests/stdlib/tdiff.nim (#16172) 2020-11-28 11:59:08 -08:00
Timothee Cour
1d786c0a54 fix #14242 testament r tests/js/foo now works; testament now honors --targets (#16163)
* fix #14242 `testament r tests/js/foo` now works; testament now honors --targets

* fix shouldfail
2020-11-28 19:33:36 +01:00
Timothee Cour
b809562c7c make megatest consistent with unjoined tests wrt newlines, honor newlines in output spec (#16151)
* fix megatest newlines
* still allow missing trailing newline for now but in a more strict way than before
2020-11-28 09:09:31 +01:00
Antonis Geralis
157e7820f1 Add package manu to tested packages (#16121)
* Add package manu to tested packages

* Bump
2020-11-28 00:05:19 +01: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
3510216c8a add testcase (#16156) 2020-11-27 02:57:16 -08:00
flywind
6b77e16c6f tunidecode minor improvement (#16157) 2020-11-27 12:41:22 +08:00
flywind
c0215d8d0d clean up changelog (#16155)
* fix rope index

* add testcase

* fix ropes format

* add `**` to jsffi

* add testcase

* changelog

* clean up changelog

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
2020-11-27 10:53:30 +08:00
Timothee Cour
52829fc8d1 cmdline: improve command processing (#16056) 2020-11-26 15:55:56 -08:00
Andreas Rumpf
9f1c5f64c5 fixes #16119 [backport:1.4] (#16149) 2020-11-26 22:16:43 +00:00
Timothee Cour
13b1b19a83 remove all mentions of doc2, jsondoc2 (except 1 mentioning the alias) (#15683) 2020-11-26 11:54:18 -08: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
Andreas Rumpf
4fdaded227 updated repr tests (#16147) 2020-11-26 20:00:31 +01:00
Andreas Rumpf
cf516713d0 fixes https://github.com/status-im/nimbus-eth2/issues/1549 (#16146)
* fixes https://github.com/status-im/nimbus-eth2/issues/1549 [backport:1.4]

* test fixup
2020-11-26 19:05:21 +01:00
cooldome
2f1a9eadd7 More on #16110 (#16130)
* fix #16110

* refs #16110

* fix comment

* Trigger build

* use shallowCopy for efficiency
2020-11-26 13:44:06 +00:00
cooldome
8c12d3e29d fix #16120 (#16145) 2020-11-26 14:37:34 +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
Timothee Cour
3e7077ac7d fix #14339, #13511, #14420: fixes limited VM support for addr (#16002)
* fix #14339: fixes limited VM support for addr

* strengthen test

* reference bug #16003

* also fixes #13511

* also fixes #14420
2020-11-25 20:48:10 +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
57bd64582c move tests under the compiler directory to testament (#16096) 2020-11-25 07:48:27 +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
3fed85437b ref #16054 remove typed array (#16077) 2020-11-24 19:30:17 +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
Andreas Rumpf
d306a04466 fixes #16069; [backport:1.2] [backport:1.4] (#16115)
* fixes #16069; refs https://github.com/nim-lang/RFCs/issues/257 [backport:1.2] [backport:1.4]

* make tests green again
2020-11-24 16:09:00 +01:00
cooldome
1d14b2c9e6 fix #16110 (#16117) 2020-11-24 15:49:14 +01:00
flywind
afb8b69c0a improve document for heapqueue (#16107) 2020-11-24 14:29:34 +01:00
Miran
9a86198ed5 fix export links in the documentation (#16114) [backport:1.4]
* fix export links in the documentation

* fix `len` problem
2020-11-24 14:26:52 +01:00
Andrey R (cooldome)
9a2a83ad71 Revert "fix #16110"
This reverts commit f8b9d8c190.
2020-11-24 12:11:13 +00:00
Andrey R (cooldome)
baae8ef38f Revert "fix #16110"
This reverts commit 2bab2a2cd8.
2020-11-24 12:10:43 +00:00
Andrey R (cooldome)
2bab2a2cd8 fix #16110 2020-11-24 11:58:02 +00:00
Andrey R (cooldome)
f8b9d8c190 fix #16110 2020-11-24 11:53:55 +00: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