flywind
561902ca2b
close #2771(add testcase for #2771 ) ( #15932 )
...
(cherry picked from commit 7d51ad96e9 )
2020-11-16 07:09:39 +01:00
lenoil98
b3b7a1e73f
Update buildsh.nimf ( #15945 )
...
fix powerpc64le detection
(cherry picked from commit 778914c3ca )
2020-11-16 07:07:58 +01:00
wilypomegranate
efaa55d429
Don't use os for Standalone ( #15944 )
...
(cherry picked from commit 1fdfa234d7 )
2020-11-16 07:07:25 +01:00
treeform
afedd5ee24
Add documentElement to Document. ( #15943 )
...
(cherry picked from commit 83432aecfc )
2020-11-16 07:07:05 +01:00
flywind
9b51f9b7e1
fix #15941 ( #15948 )
...
* fix #15941
* add testcase
* update
(cherry picked from commit 492e9afa4c )
2020-11-16 07:06:15 +01:00
flywind
71583cd2e9
add testcase
...
(cherry picked from commit 8ec3c141ae )
2020-11-16 07:05:58 +01:00
flywind
53421be985
make workaround for #15934 and #15620
...
(cherry picked from commit 077eba7b38 )
2020-11-16 07:05:51 +01:00
flywind
37229707ed
change some code-blocks to runnableExamples and correct some errors in docs ( #15900 )
...
* original docs are wrong
* fix pathnorm
* Update lib/pure/pathnorm.nim
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
(cherry picked from commit ef2677f5f3 )
2020-11-16 07:00:48 +01:00
lenoil98
30362cde20
Add support for FreeBSD/PowerPC64 Little Endian ( #15927 )
...
* Update installer.ini
Add support for powerpc64 little endian
* Update buildsh.nimf
Add support for powerpc64 little endian
* Update makefile.nimf
Add support for freebsd/powerpc64 little endian
(cherry picked from commit 63c559e781 )
2020-11-16 07:00:24 +01:00
Christopher Dunn
9fb713cf23
Fix a problem for long symlinks in conda ( #15908 ) [backport]
...
* d8c80ea69d (diff-e1d8e552330911f9f779f85b6f2c00a15e790dcc3fbb3b28f5da1d660a30c5b8)
(cherry picked from commit c6ceefea6d )
2020-11-16 06:58:21 +01:00
flywind
23ea176cb2
fix #15916 ( #15917 ) [backport]
...
* fix #15916
* add testcase for #15916
* add comments
(cherry picked from commit 402df0b061 )
2020-11-16 06:58:07 +01:00
Fanael Linithien
48e5520894
Fix #15909 ( #15914 )
...
(cherry picked from commit 7d4f70280e )
2020-11-16 06:57:46 +01:00
flywind
23b0b10886
fix #14157 ( #15877 )
...
* fix #14157
* Update compiler/jsgen.nim
* add changelog
* Update compiler/jsgen.nim
* Update tests/js/tmodify_cstring.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
(cherry picked from commit 1f9bf43100 )
2020-11-16 06:56:43 +01:00
Bung
04254fe9d6
fix #12726 Cannot take the compile-time sizeof Atomic types ( #15928 )
...
* fix #12726 Cannot take the compile-time sizeof Atomic types
* fix for arch 32
(cherry picked from commit 826e62953f )
2020-11-16 06:56:33 +01:00
Bung
272bc81f51
Fix 14127 js from int to int casting ( #15918 )
...
* fix #14127 from int to int casting
* add test for #14127
* use template for test, also test uint2int
* move to tests/types/t14127_cast_number.nim targets:c cpp js
(cherry picked from commit a81434a890 )
2020-11-16 06:56:24 +01:00
narimiran
d10f841b60
nimdoc: items of ordered lists now have numbers instead of circles
...
(cherry picked from commit f02c7542fc )
2020-11-16 06:55:32 +01:00
narimiran
1781848122
remove codeowners [ci skip]
...
(cherry picked from commit b831033db6 )
2020-11-16 06:55:25 +01:00
ee7
916c4bb484
Docs(strutils): Fix broken links ( #15912 )
...
The `dedent` and `unindent` links were introduced by commit d67c5cb751
(#15264 ).
(cherry picked from commit 42c434fa3d )
2020-11-16 06:55:00 +01:00
flywind
2e6cfe3a0d
close #4318(add testcase for #4318 ) ( #15904 )
...
* close #4318(add testcase for #4318 )
* Update tests/objects/t4318.nim
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
(cherry picked from commit 35f8803250 )
2020-11-16 06:54:53 +01:00
Miran
04f810c2ec
Correct all eggs ( #15906 )
...
* "eg" is a misspelled "egg", "e.g." is "exempli gratia"
* Also, "ie" is "i.e.".
(cherry picked from commit bbe49a14ae )
2020-11-16 06:54:45 +01:00
narimiran
192cb9ff90
fix norm package testing command
...
(cherry picked from commit c44ae647a9 )
2020-11-16 06:54:34 +01:00
flywind
127d63b343
fix #12471 ( #15901 )
...
* fix #12471
* add testcase
* fix
* test nimdoc is tricky
* Delete t12471.nim
(cherry picked from commit b38f0403fd )
2020-11-16 06:54:25 +01:00
flywind
a27ed88688
follow #15874(add testcase for #15874 ) ( #15893 )
...
(cherry picked from commit d8e7caf5dd )
2020-11-16 06:54:10 +01:00
cooldome
7724cd534f
fix #15825 ( #15894 )
...
* fix #15825
* better fix
(cherry picked from commit 338602a402 )
2020-11-16 06:53:59 +01:00
Clyybber
4e89dffc15
Add testcase for #14601 ( #15677 )
...
(cherry picked from commit 7435d912ad )
2020-11-16 06:53:52 +01:00
narimiran
19a11bc8a6
fix the incorrect merge conflict of an earlier backport
2020-11-10 12:31:06 +01:00
Aethylia
244f3f62ce
Added [:T] syntax explanation to generics tutorial. ( #15890 )
...
* Added [:T] syntax explanation to generics tutorial.
* Update doc/tut2.rst
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
* Update doc/tut2.rst
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
* Made second generics example runnable and added test line.
* Update doc/tut2.rst
* Update doc/tut2.rst
* Update doc/tut2.rst
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
(cherry picked from commit 53eca459f1 )
2020-11-09 16:26:00 +01:00
ee7
b6f8ed7193
CI(actions): Replace deprecated add-path commands ( #15892 )
...
This commit resolves the following warning in the CI logs:
> Error: The `add-path` command is deprecated and will be disabled soon.
> Please upgrade to using Environment Files. For more information see:
> https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
The deprecation is due to an injection vulnerability (CVE-2020-15228).
See:
- https://bugs.chromium.org/p/project-zero/issues/detail?id=2070
- https://github.com/nim-lang/Nim/runs/1373146963#step:8:1
(cherry picked from commit 3948b40bcd )
2020-11-09 16:25:54 +01:00
cooldome
18289607eb
Fix 15629 ( #15888 )
...
* fix #15858
* fix space
* fix #15629
* Revert "fix space"
* Revert "fix #15858 "
(cherry picked from commit 69fe707025 )
2020-11-09 16:25:22 +01:00
cooldome
d57418ab9e
Fix #15858 ( #15887 )
...
* fix #15858
* fix space
* fix #15629
* Revert "fix #15629 "
(cherry picked from commit d5a0a5dfff )
2020-11-09 16:25:14 +01:00
n5m
e7e33b14b5
improve Testament docs ( #15881 )
...
* fix mentions of recursive test discovery
* document that {.fatal.} pragmas cannot be caught
(cherry picked from commit 3bff12b966 )
2020-11-09 16:25:07 +01:00
Bung
cd97e3ef98
export PrettyOptions,prettyPrint from nimpretty ( #15865 )
...
(cherry picked from commit 204435ad97 )
2020-11-09 16:25:00 +01:00
cooldome
283698b1ec
fix #15707 ( #15870 )
...
(cherry picked from commit 7b19217798 )
2020-11-09 16:24:20 +01:00
flywind
8f35bca839
fix #12558 ( #15864 )
...
* fix #12558
* Update compiler/pragmas.nim
(cherry picked from commit 673c5990c6 )
2020-11-09 16:24:00 +01:00
n5m
12145adecd
include example of error-marked copy proc ( #15886 )
...
* include example of error-marked copy proc
* Update destructors.rst
(cherry picked from commit 3be404af04 )
2020-11-09 16:23:45 +01:00
Clyybber
5ea4dea4ea
Closes #12897 ( #15867 )
...
(cherry picked from commit 60c364fb22 )
2020-11-09 16:22:13 +01:00
flywind
e7d14ce6f2
close #8829(add testcase for #8829 ) ( #15866 )
...
(cherry picked from commit fb60e35a54 )
2020-11-09 16:22:05 +01:00
flywind
839ec1395d
follow #11707(add pragmas examples for =>) ( #15863 )
...
(cherry picked from commit 9fd67958b9 )
2020-11-09 16:21:57 +01:00
flywind
ac32cf129b
fix #15851 ( #15852 )
...
* fix #15851
* {.cast(noSideEffect).}
(cherry picked from commit 218ff27b70 )
2020-11-09 16:21:16 +01:00
cooldome
992912e21d
static[T] related fixes ( #15853 )
...
* close #9679
* close #7546
* close #9520
* close #6177
(cherry picked from commit cdd459dd60 )
2020-11-09 16:21:11 +01:00
cooldome
ca53629c42
fix #15609 ( #15856 )
...
* fix #15609
* fix test
(cherry picked from commit fa5f225efc )
2020-11-09 16:21:03 +01:00
Clyybber
554a9ad156
Tiny unittest doc fix
...
(cherry picked from commit d1bea1f71f )
2020-11-09 16:20:51 +01:00
cooldome
1c027d591c
Fix #12636 ( #15850 )
...
* close #11142
* fix #12636
* undo unwanted changes
* fix illegal recursion case
(cherry picked from commit 3af7818af4 )
2020-11-09 16:20:43 +01:00
cooldome
0ed4c2bc4f
close #11142 ( #15847 )
...
(cherry picked from commit 9455a0c3e3 )
2020-11-09 16:19:28 +01:00
flywind
ac25f63f82
document #15618 ( #15810 )
...
* document #15618
* Update lib/pure/unittest.nim
* Update lib/pure/unittest.nim
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
* Update lib/pure/unittest.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
(cherry picked from commit adde5ba6b0 )
2020-11-09 16:19:14 +01:00
flywind
e5a04f8914
fix adding empty sequence to HTTP headers ( #15783 )
...
* fix adding empty sequence to HTTP headers
* add tests
(cherry picked from commit c4cc907433 )
2020-11-09 16:19:05 +01:00
flywind
8c31c210ee
fix #15663 ( #15839 ) [backport:1.4]
...
(cherry picked from commit 8e1fa84b0d )
2020-11-09 16:18:20 +01:00
flywind
64ded4a51f
fix #15463 ( #15831 )
...
(cherry picked from commit a8af664e8b )
2020-11-09 16:18:03 +01:00
flywind
5da17acfce
change non-working example to runnableExamples ( #15841 )
...
(cherry picked from commit cae92f670a )
2020-11-09 16:15:49 +01:00
flywind
5bc573cf1e
close #10307(add testcase for #10307 ) ( #15840 )
...
(cherry picked from commit dfa2f011d7 )
2020-11-09 16:15:42 +01:00