Commit graph

18,072 commits

Author SHA1 Message Date
flywind
a8af664e8b
fix #15463 (#15831) 2020-11-05 14:00:08 +01:00
flywind
cae92f670a
change non-working example to runnableExamples (#15841) 2020-11-05 13:11:22 +01:00
flywind
dfa2f011d7
close #10307(add testcase for #10307) (#15840) 2020-11-05 18:55:42 +08:00
flywind
fdd25ed19c
close #8457 (#15844) 2020-11-05 18:31:44 +08:00
cooldome
4c19c5dfae
fix static[Slice[T]] as argument issue (#15842) 2020-11-04 19:52:53 +01:00
c-blake
f17555770e
Clarify the sense in which Nim supports recursive iterators in the (#15834)
manual, the tutorial, and the `tbintree` test.
2020-11-04 16:56:22 +01:00
flywind
7d640e0943
fix #15835 (#15838)
* fix #15835

* add tests
2020-11-04 01:24:40 -05:00
flywind
b0e26d8fbf
remove iup from stdlib in contrast to #15828 (#15830)
* remove iup from stdlib

* Update changelog.md
2020-11-03 20:43:51 +01:00
flywind
75dc69417a
fix deprecated messages regarding high (#15832) 2020-11-03 16:31:16 +01:00
cooldome
d62f3627aa
EnumUtils, speed up findStr in compiler (#15777)
* add parseEnumRange
* fix runnable example
* update changelog
* use parseEnumRange in compiler
* reorganise code
* add changelog, make single normalizer argument
2020-11-03 16:26:16 +01:00
flywind
b8bcf236dd
fix #12640 (#15829) 2020-11-03 11:41:41 +01:00
flywind
fde17b159f
follow #15818 and close #7109 (#15823)
* follow #15818 and close #7109

* Update compiler/jsgen.nim

Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>

Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
2020-11-02 18:27:39 +01:00
Miran
c243639979
ioutils are moved to fusion (#15822) 2020-11-02 16:52:54 +01:00
Timothee Cour
235e4930ab
simplify toHex (#15821) 2020-11-02 14:48:36 +01:00
Andreas Rumpf
dfd8a83f35
fixes #15804 (#15820)
* fixes #15804

* fix the existing test

* add the testcase for #15804

Co-authored-by: narimiran <narimiran@disroot.org>
2020-11-02 14:17:09 +01:00
flywind
eb429988cd
fixes #15594 (#15819) 2020-11-02 14:16:33 +01:00
Regis Caillaud
6fa82a5b3a
Handle BLOB column type in SQLite as binary data (#15681)
* Fixed not handling blob correctly in sqlite
* Fixed setLen commented by mistake
* Added binary example as db_sqlite doc
* Added tests for sqlite binary data
2020-11-02 13:02:55 +01:00
flywind
4fe56b56ce
more clear (#15812) 2020-11-02 13:01:19 +01:00
flywind
5b4c17b5e7
Closure iterators are not supported by VM (#15818) 2020-11-02 10:58:14 +01:00
flywind
544cb107c7
fix #8821 (#15809) 2020-11-02 10:41:44 +01:00
cooldome
00b495de95
Use modern enums in compiler (#15775) 2020-11-02 10:35:24 +01:00
Thomas Tay
5298366f86
Update tables documentation (#15807)
Added a case where a user might use mgetOrPut and create an accidental
copy of a seq.
2020-11-02 10:33:16 +01:00
flywind
558115fa29
fixes #15717 2020-11-02 10:27:48 +01:00
flywind
919593395c
fix #15815 (#15817) 2020-11-02 10:22:26 +01:00
flywind
27eb19cc48
fix #15145 (#15816) 2020-11-02 08:56:51 +01:00
flywind
98cec6b692
closes #3670 [add testcase for #3670] (#15808)
* add testcase

* Update tests/template/twhenintemplates.nim

Co-authored-by: Clyybber <darkmine956@gmail.com>
2020-11-01 19:53:00 +01:00
Clyybber
1eb4a38a50
Typos 2020-10-31 17:47:09 +01:00
n5m
bcb30566fc
improve public Testament docs (#15710)
* improve glob docs

* punctuation

* move spec descriptions above example

notably, change the description of timeout to reference seconds, not microseconds

* document nimout

* document sortoutput

* explain the action options
2020-10-31 17:45:14 +01:00
flywind
80b0748d75
fix #15651 (#15800)
* fix

* minor
2020-10-31 12:06:13 +01:00
flywind
8115b655e7
support par expression as checkpoint (#15802) 2020-10-31 09:05:01 +00:00
flywind
bc9a521270
[closes #12682]add testcase for #12682 (#15796)
* add testcase for #12682

* fix
2020-10-31 03:03:51 +01:00
Miran
28bbcd9d45
fix #15702, show enum fields documentation (#15792) 2020-10-30 16:30:00 +01:00
Clyybber
7364794fed
Grammar fixes 2020-10-30 16:00:37 +01:00
flywind
ae86df12af
add testcase for #14227 (#15794) 2020-10-30 15:53:45 +01:00
flywind
2cfe5e0745
[closes #11625 and closes #2488]add global and threadvar(with --threads:off mode ) pragmas supports for JS backend (#15772)
* add global pragma support for js backend

* globalThis

* add support for threadvar

* more tests

* Update compiler/jsgen.nim

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
2020-10-30 15:34:07 +01:00
cooldome
6fe2e8977d
canAlias improvement (#15773)
* canAlias improvement

* fix comment
2020-10-30 11:42:06 +00:00
Miran
ec059240b0
promote collect macro as a map+filter replacement (#15788)
* promote `collect` macro as a map+filter replacement

* Update lib/pure/collections/sequtils.nim
2020-10-30 10:12:01 +01:00
Miran
c0fdc8b215
fix toHex - make it work with int literals (#15770) 2020-10-30 10:04:53 +01:00
flywind
4374c638cd
closes #6036 (#15779)
* add testcase for #6036

* try

* try again

* make it work
2020-10-30 10:00:25 +01:00
flywind
1725db9295
closes #7374 (#15781)
* add testcase for #7374

* minor

* fix test
2020-10-30 09:59:56 +01:00
flywind
3028c1be82
add testcase for #7416 (#15782) 2020-10-30 09:59:38 +01:00
flywind
17f08b2939
closes #7658 (#15784)
* fix #7658

* more
2020-10-30 09:58:55 +01:00
flywind
2de90a14cb
add testcase for #8012 (#15785) 2020-10-30 09:57:26 +01:00
flywind
1655c04aa3
add testcase for #9165 (#15787) 2020-10-30 09:57:02 +01:00
Antonis Geralis
c274d9aed6
add approxequal (#15766)
* add approxequal

* Address review comments, tests that pass

* more wikipedia links [ci skip]

* forgot since

Co-authored-by: b3liever <b3liever@yandex.com>
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
2020-10-30 09:56:28 +01:00
flywind
b5df823191
add testcase for #9091 (#15791)
* add testcase for #9091

* more tests
2020-10-30 09:55:21 +01:00
flywind
f79ded3cb6
fix #15638 (#15789) 2020-10-30 09:16:47 +01:00
flywind
d8fb2379c9
add testcase for #7127 (#15780) 2020-10-30 03:54:39 +01:00
flywind
33e258c72f
add tests for #7686 (#15771) 2020-10-29 18:12:14 +01:00
Antonis Geralis
912d8f80ad
Fix doc comment for sumKbn (#15769)
Co-authored-by: b3liever <b3liever@yandex.com>
2020-10-29 17:54:28 +01:00