Commit Graph

18237 Commits

Author SHA1 Message Date
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
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
6a37c0682a ast minor (#16079) 2020-11-22 20:01:17 +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
Bad Dog
2841cc6e97 add gram to important packages (#16037) 2020-11-22 15:11:05 +08:00
flywind
f1764aaa9e sets minor improvement (#16087) 2020-11-21 12:50:23 -08:00
flywind
c9371ef59d deques minor improvement (#16084) 2020-11-21 12:30:04 -08:00
flywind
3040f05505 xmltree minor improvement (#16085) 2020-11-21 12:26:51 -08:00
flywind
dd57d46f2f complex minor improvement (#16086) 2020-11-21 12:20:33 -08:00
flywind
f3887dea2c heapqueue minor improvement (#16088) 2020-11-21 12:16:35 -08:00
Timothee Cour
5e8ac485a2 followup #15970 strenghten regression tests (#16075)
* followup #15970 strenghten regression tests

* _
2020-11-20 22:16:59 +00:00
Andreas Rumpf
d9038ed792 fixes #15671 [backport:1.4] (#15690)
* fixes #15671 [backport:1.4]

* progress
2020-11-20 18:14:15 +01:00
cooldome
fcb2ec4ed6 fix #15958 (#15970) [backport:1.4]
* fix #15958

* also cover openArray and VarArgs

* more tests

* cover even more types

* cover even more types

* Trigger build

* Trigger build

* cover sets passed as arrays
2020-11-20 14:58:16 +01:00
Clyybber
07ad608fb2 Retain backwards compatibility after #16057 (#16068)
* Retain backwards compatibility

* Fix typo
2020-11-20 14:11:41 +01:00
Miran
1ad7e4f30b fix #16047 (#16066) 2020-11-20 03:31:06 -08:00
satoru
81a03238ed colors: Reuse the HexDigits constant in strutils (#16065)
Co-authored-by: Xuecong Liao <xliao@flexport.com>
2020-11-20 10:55:14 +01:00
Timothee Cour
7815ed69d4 rename loadConfigsAndRunMainCommand => loadConfigsAndProcessCmdLine, reflect reality (#16057) 2020-11-20 10:51:14 +01:00
flywind
6cf5ca1dc2 alternative way to fix #16022 (#16064) [backport:1.4]
* alternative way to fix #16022
* add testcase for #16022

[backport:1.4]
2020-11-20 09:06:18 +01:00
Timothee Cour
109cc45398 packedsets fix regression introduced in #15564 (#16060)
* packedsets fix regression introduced in #15564

* add tests
2020-11-20 08:07:51 +01:00
Antonis Geralis
59332ec235 Improve enumerate (#16053)
* Improve enumerate

* updates

* add tests
2020-11-20 00:09:30 +00:00
Timothee Cour
b3c3557c33 fix #16025 repr now consistent: does not insert trailing newline (#16034) 2020-11-19 12:12:51 -08:00
Andreas Rumpf
1efd11e266 fixes #15942 [backport:1.2] [backport:1.4] (#16051) 2020-11-19 13:42:16 +01:00
flywind
1bcc352137 close #14847(add testcase for #14847) (#16045) 2020-11-19 08:31:54 +01:00
Andreas Rumpf
743f2f5faa makes parsesql .gcsafe [backport:1.0] (#16039) 2020-11-19 08:30:23 +01:00
Timothee Cour
44442520bc fix numbering in contributing.rst (#16042) 2020-11-18 19:41:01 -08:00
cooldome
acf8316e50 Disallow nil dereference at compile time (#16032)
* bring back the semfold of nil

* remove space

* fix test

* proc type can't be dereferenced

* disallow nil dereference at compile time

* changelog
2020-11-18 23:30:28 +01:00
Timothee Cour
bf8421a2fc contributing docs: always mentioned referenced issues in PR body (#16038) 2020-11-18 23:29:32 +01:00
Timothee Cour
557dcfd87d fix #16033 nim js --gc:arc works and ignores --gc:arc (#16036) 2020-11-18 23:28:52 +01:00
Andreas Rumpf
2773efa034 fixes db_mysql broken quoting; refs c16ee37a71 (r44209990) [backport:1.4] (#16035) 2020-11-18 23:06:16 +01:00
Andreas Rumpf
b9eb91cbb5 ORC: prepare for another patent-pending optimization (#15996)
* ORC: prepare for another patent-pending optimization

* bugfix

* '=copy' for refs can take a cyclic parameter for more ORC optimizations

* ORC: exploit the common 'it = it.next' pattern

* can't hurt to check for nil

* use an algorithm that is not obviously broken

* restore the test case

* final cleanups for --gc:orc
2020-11-18 22:31:06 +01:00