narimiran
ebc114c526
Revert "fix #17118 ( #17119 ) [backport:1.2]"
...
This reverts commit 2e896e3360 .
v1.2.10
2021-02-22 13:51:01 +01:00
narimiran
6da0bf80c3
bump NimVersion to 1.2.10
2021-02-22 10:31:38 +01:00
flywind
2e896e3360
fix #17118 ( #17119 ) [backport:1.2]
...
* fix js unsigned integer
* Use `std` prefix for standard library modules
* fix #17118
(cherry picked from commit 32bf10126c )
2021-02-22 10:31:14 +01:00
Miran
d922751d98
[backport:1.2] update nimble commit hash ( #17109 )
...
(cherry picked from commit da52e81327 )
2021-02-19 20:38:09 +01:00
Andreas Rumpf
ca1f97951c
fixes #17085 [backport:1.2] ( #17101 )
...
(cherry picked from commit 4395a26764 )
2021-02-19 20:36:13 +01:00
Benoit Favre
a48abc262c
Fix bug in removeDotSegments when path ends with dot ( #17038 ) [backport:1.2]
...
(cherry picked from commit 8f54d3b792 )
2021-02-17 18:39:34 +01:00
narimiran
c18726f4a1
correctly backport pragmas changes
2021-02-09 20:23:13 +01:00
Miran
965b37ab4a
[backport:1.2] update the nimble commit hash to the latest one ( #16971 )
...
(cherry picked from commit 0d34345f29 )
2021-02-09 19:09:37 +01:00
narimiran
7deedd3601
remove 'tsugar'
2021-02-09 17:33:38 +01:00
Andreas Rumpf
2db37e2e0e
final SSL changes [backport:1.2] ( #16983 )
...
(cherry picked from commit 74d6a4d7f4 )
2021-02-09 15:45:05 +01:00
hlaaftana
aa98aee18d
Remove declPragmas from lambdas [backport:1.0] ( #16966 )
...
* Remove declPragmas from lambdas [backport:1.0]
* add test for exportc
* fix test
* fix align, nodecl -> noinit
(cherry picked from commit 49b64e8dc7 )
2021-02-09 15:44:29 +01:00
hlaaftana
3fb7979211
fix #16967 [backport:1.2] ( #16976 )
...
* fix #16967 [backport:1.2]
* move test to tsugar
(cherry picked from commit 49ee2f7f3b )
2021-02-09 15:41:34 +01:00
narimiran
5ffa88e7e0
enable 'protobuf'
2021-02-09 15:40:26 +01:00
narimiran
5788d288ad
disable 'protobuf' package
2021-02-08 18:45:45 +01:00
Andreas Rumpf
793bd0a977
basic cleanups regarding SSL handling ( #16940 ) [backport:1.0]
...
* basic cleanups regarding SSL handling
* enabled certificate checking on Windows
* updated the SSL test
* quoting helps
(cherry picked from commit abac35e743 )
2021-02-08 17:26:07 +01:00
Andreas Rumpf
90cf7177ca
fixes #16897 [backport:1.2] ( #16900 )
...
(cherry picked from commit 91ace2188a )
2021-02-02 14:35:54 +01:00
narimiran
98894e5e07
disable unsupported packages
2021-02-02 08:46:29 +01:00
Timothee Cour
040adf415b
[backport 1.0] add backend support for js bigint ( #16606 )
...
* add backend support for js bigint
* cleanup
* add tests
* add -d:nimHasJsBigIntBackend
* cleanup
* more tests
(cherry picked from commit 025ca660f7 )
2021-02-01 15:24:46 +01:00
Timothee Cour
bdb3cc3a8a
[backport => 1.0] fix #16428 vmops now works for generic procs ( #16429 )
...
* fix #16428 vmops now works for generic procs
* remove duplication
(cherry picked from commit bc84d9c8cb )
2021-02-01 15:23:58 +01:00
Code Hz
435eca6232
removing out T from docs since it no longer working ( #16378 ) [backport]
...
* remove `out T` from docs
see https://github.com/nim-lang/Nim/issues/16131
* remove `out T` in title
* remove entire paragraph
(cherry picked from commit 90dbb6f3fb )
2021-02-01 15:23:23 +01:00
Araq
6d75a9c996
better documentation
...
(cherry picked from commit cb19dc53ca )
2020-12-27 15:06:09 +01:00
Tomohiro
6e0c052509
Fix osproc so that it doesn't close pipe/process/thread handles twice ( #16385 ) [backport]
...
* Add error check to closeHandle and fix closing handle twice in osproc
* Fix compile error on Linux
(cherry picked from commit dcdbae798c )
2020-12-19 14:28:53 +01:00
Andreas Rumpf
c5bf0d6fa9
fixes #16359 [backport] ( #16377 )
...
(cherry picked from commit b87bcb6d92 )
2020-12-19 14:23:11 +01:00
Andreas Rumpf
2b9c458692
OSX: support for M1 [backport:1.0] ( #16279 )
...
(cherry picked from commit 94bb816de3 )
2020-12-19 14:21:50 +01:00
Andreas Rumpf
28049053e8
fixes #16214 [backport] ( #16252 )
...
(cherry picked from commit edce5897a5 )
2020-12-19 14:16:16 +01:00
Timothee Cour
a82cfb2d54
simplify toHex ( #15821 )
...
(cherry picked from commit 235e4930ab )
2020-12-07 15:47:36 +01:00
Miran
e3810646eb
fix toHex - make it work with int literals ( #15770 )
...
(cherry picked from commit c0fdc8b215 )
2020-12-07 15:47:26 +01:00
Andreas Rumpf
0888ac4097
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
(cherry picked from commit d306a04466 )
2020-11-26 08:09:49 +01:00
narimiran
c2982d5a9d
re-enable telebot
2020-11-25 16:03:50 +01:00
Euan
212dcafcaa
Fix FreeBSD build failures ( #15613 )
...
The FreeBSD is/was failing, due to a conflict with installing Git.
Git is guaranteed to be in the base image, so this removes that package from the package list. It also reverts back to the built-in `packages` tag since it's officially supported.
Should the build fail in the future, the best place to go is the #sr.ht channel on freenode.
(cherry picked from commit ba2a477e64 )
2020-11-25 16:03:11 +01:00
narimiran
f04c8f0ba4
disable failing packages
2020-11-25 15:30:53 +01:00
Araq
67bdbb676e
fixes 'nim doc'
...
(cherry picked from commit 19d52033f8 )
2020-11-25 15:30:23 +01:00
flywind
93552e2e31
fix rope index ( #16100 )
...
* fix rope index
* add testcase
(cherry picked from commit ab2c082cb3 )
2020-11-25 13:49:47 +01:00
ee7
1ee94744e3
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-25 13:39:55 +01:00
flywind
db70fec7ca
fix #16103 ( #16109 ) [backport:1.0]
...
* fix #16103
* docs
(cherry picked from commit 823a71380d )
2020-11-25 13:02:20 +01:00
flywind
252bebd16e
fix ropes format errors ( #16106 ) [backport:1.0]
...
* fix rope index
* add testcase
* fix ropes format
(cherry picked from commit 0c6c4be0e7 )
2020-11-25 13:02:02 +01:00
flywind
a27459fc08
fix #9695 asyncmacro: tfuturevar fails when activated [backport: 1.0] ( #16090 )
...
* fix asyncmacro
* Apply suggestions from code review
* Update lib/pure/asyncmacro.nim
(cherry picked from commit 6f1a72069a )
2020-11-25 12:59:01 +01:00
Andreas Rumpf
8c3f500338
fixes #15942 [backport:1.2] [backport:1.4] ( #16051 )
...
(cherry picked from commit 1efd11e266 )
2020-11-25 12:58:49 +01:00
Andreas Rumpf
9af27994c9
makes parsesql .gcsafe [backport:1.0] ( #16039 )
...
(cherry picked from commit 743f2f5faa )
2020-11-25 12:58:35 +01:00
Igor Ribeiro de Assis
ee6b9d37c0
Do not read the whole file to compute SHA1 hash (fixes 15997) ( #16006 )
...
* Do not read the whole file to compute SHA1 hash (fixes 15997)
* Update lib/std/sha1.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
* Update lib/std/sha1.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
* Directly break from loop
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
[backport:1.2] [backport:1.4]
(cherry picked from commit baaa19b927 )
2020-11-25 12:58:23 +01:00
Andreas Rumpf
71c0b6e76c
asynchttpserver cleanups [backport:1.0] ( #15966 )
...
* asynchttpserver cleanups [backport:1.0]
(cherry picked from commit 122f22d163 )
2020-11-25 12:57:21 +01:00
Araq
b3a12b4e3f
attempt to make asynchttpserver better; fixes #15925 ; [backport:1.0]
...
(cherry picked from commit 8778d4a6f3 )
2020-11-25 12:54:07 +01:00
Bung
a832fa65c4
Fix #8404 JS backend doesn't handle float->int type conversion ( #15950 ) [backport]
...
* Fix #8404 JS backend doesn't handle float->int type conversion
* handle conv to uint as cast, discard other cases
* limit to int32, times use int64
* toInt including tyInt64 break times timezones lib, ignore for now
* also affect to vm
* move to tests/misc/t8404.nim
(cherry picked from commit 797cb2e67b )
2020-11-25 12:52:23 +01:00
Christopher Dunn
6c5eaa955d
Fix a problem for long symlinks in conda ( #15908 ) [backport]
...
* d8c80ea69d (diff-e1d8e552330911f9f779f85b6f2c00a15e790dcc3fbb3b28f5da1d660a30c5b8)
(cherry picked from commit c6ceefea6d )
2020-11-25 12:52:10 +01:00
narimiran
e9e93bd0ca
bump NimVersion to 1.2.9
2020-11-25 12:47:35 +01:00
narimiran
dde13f38c9
revert adding a test, should have been part of 00cd7b8ca backport
v1.2.8
2020-10-26 11:22:09 +01:00
Jason Beetham
fabbb7ea3e
Fixed iteration limit hit from execproc ( #15723 ) [backport:1.2] [backport:1.4]
...
When calling procs from Nim in Nimscript you could hit the VM iteration limit even though the code is functioning properly. This resolves that by making the iteration limit reset eachtime you call a proc.
(cherry picked from commit a87617956f )
2020-10-26 11:14:55 +01:00
Danil Yarantsev
76971596ad
Add support to the latest LibreSSL version ( #15715 ) [backport:1.2] [backport:1.4]
...
(cherry picked from commit b2740f5c63 )
2020-10-26 11:14:49 +01:00
Timothee Cour
d777a8f86c
fix #15704 #15597 wrong VM register was freed ( #15705 )
...
(cherry picked from commit d4c2e2c53f )
2020-10-26 10:29:54 +01:00
Clyybber
00cd7b8ca4
Revert "fixes #15280 [backport:1.2] ( #15281 )" ( #15700 )
...
This reverts commit 3f00a738db .
(cherry picked from commit d4022ebe53 )
2020-10-24 17:18:44 +02:00