flywind
e6ea779b06
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-23 15:22:35 +01:00
flywind
cb138fc304
sets minor improvement ( #16087 )
...
(cherry picked from commit f1764aaa9e )
2020-11-23 15:22:22 +01:00
flywind
c6f7337c77
deques minor improvement ( #16084 )
...
(cherry picked from commit c9371ef59d )
2020-11-23 15:22:14 +01:00
flywind
6c070452e4
xmltree minor improvement ( #16085 )
...
(cherry picked from commit 3040f05505 )
2020-11-23 15:22:00 +01:00
flywind
475b7e1444
complex minor improvement ( #16086 )
...
(cherry picked from commit dd57d46f2f )
2020-11-23 15:21:53 +01:00
flywind
64692b185f
heapqueue minor improvement ( #16088 )
...
(cherry picked from commit f3887dea2c )
2020-11-23 15:21:46 +01:00
Andreas Rumpf
da3948ae32
fixes #15671 [backport:1.4] ( #15690 )
...
* fixes #15671 [backport:1.4]
* progress
(cherry picked from commit d9038ed792 )
2020-11-20 18:15:16 +01:00
cooldome
f052e251be
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
(cherry picked from commit fcb2ec4ed6 )
2020-11-20 15:01:12 +01:00
Miran
577b4f795c
fix #16047 ( #16066 )
...
(cherry picked from commit 1ad7e4f30b )
2020-11-20 13:53:35 +01:00
satoru
e99c248106
colors: Reuse the HexDigits constant in strutils ( #16065 )
...
Co-authored-by: Xuecong Liao <xliao@flexport.com >
(cherry picked from commit 81a03238ed )
2020-11-20 13:39:59 +01:00
flywind
9c6444c192
alternative way to fix #16022 ( #16064 ) [backport:1.4]
...
* alternative way to fix #16022
* add testcase for #16022
[backport:1.4]
(cherry picked from commit 6cf5ca1dc2 )
2020-11-20 13:39:04 +01:00
Antonis Geralis
e94f9cdb4f
Improve enumerate ( #16053 )
...
* Improve enumerate
* updates
* add tests
(cherry picked from commit 59332ec235 )
2020-11-20 13:38:49 +01:00
Andreas Rumpf
4ddb8feb93
fixes #15942 [backport:1.2] [backport:1.4] ( #16051 )
...
(cherry picked from commit 1efd11e266 )
2020-11-19 13:51:16 +01:00
flywind
ff8fbb3001
close #14847(add testcase for #14847 ) ( #16045 )
...
(cherry picked from commit 1bcc352137 )
2020-11-19 13:51:04 +01:00
Andreas Rumpf
63296fb983
makes parsesql .gcsafe [backport:1.0] ( #16039 )
...
(cherry picked from commit 743f2f5faa )
2020-11-19 13:50:49 +01:00
Timothee Cour
80068f7dfc
fix #16033 nim js --gc:arc works and ignores --gc:arc ( #16036 )
...
(cherry picked from commit 557dcfd87d )
2020-11-19 13:49:56 +01:00
Andreas Rumpf
8e181cbd3f
fixes db_mysql broken quoting; refs c16ee37a71 (r44209990) [backport:1.4] ( #16035 )
...
(cherry picked from commit 2773efa034 )
2020-11-19 13:48:40 +01:00
Igor Ribeiro de Assis
80c33b187d
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-19 13:48:06 +01:00
cooldome
817a16c027
Semfold for nil cast ( #16030 )
...
* bring back the semfold of nil
* remove space
* fix test
* proc type can't be dereferenced
(cherry picked from commit 87d3e5331a )
2020-11-19 13:46:59 +01:00
Juan Carlos
63ae6308c2
htmlgen: Add lazy loading ( #15986 )
...
(cherry picked from commit a8858eb93e )
2020-11-19 13:45:45 +01:00
Bung
f0b19e8ef2
add parent property to window in dom.nim ( #15922 )
...
(cherry picked from commit bc007a3cd3 )
2020-11-19 13:45:28 +01:00
narimiran
41569f9693
fix wrong backport containing idgen
2020-11-18 11:53:22 +01:00
flywind
5977f553fc
fix #6497 ( #16027 )
...
* fix #6497
* add testcase for #16027
(cherry picked from commit 581bcfe290 )
2020-11-18 11:31:30 +01:00
flywind
462209f4b0
combine PR#16009 and PR#16012 ( #16024 )
...
* fix #15623
* add testcase for #15623
* add testcase
* combine #16009
* support casting nil to NilableTypes in VM
(cherry picked from commit e6e1e9574d )
2020-11-18 11:31:04 +01:00
flywind
55abacc514
fix #15972 ( #15994 )
...
* fix #15972
* add testcase
* more
(cherry picked from commit 0869d2a477 )
2020-11-18 11:30:56 +01:00
Timothee Cour
ce1570a6fb
defer: improve manual, clarify difference wrt try/finally ( #16010 )
...
(cherry picked from commit 50d035b789 )
2020-11-18 11:04:29 +01:00
Timothee Cour
cc6497406f
remove unused and misleading FilenameOption.foShort ( #15982 )
...
(cherry picked from commit 61352d5a20 )
2020-11-18 11:03:26 +01:00
narimiran
00c9dafd5f
telling us once about a change is enough [ci skip]
...
(cherry picked from commit 3e5e029ef8 )
2020-11-18 11:01:23 +01:00
flywind
9560efafc2
rename: stmt -> typed and expr -> untyped ( #15989 )
...
* stmt -> typed
* expr -> untyped
* minor
(cherry picked from commit 4213f7a6c9 )
2020-11-18 11:01:15 +01:00
cooldome
b92666745e
fix #15910 ( #15984 )
...
* fix #15910
* produce op of op is nil
* Trigger build
(cherry picked from commit a4d02f591c )
2020-11-18 11:01:05 +01:00
Timothee Cour
d08c2f195c
workaround #15713 disable freebsd tssl.nim ( #15718 )
...
(cherry picked from commit b56a037183 )
2020-11-16 14:12:06 +01:00
Luca Guzzon
c225d0182a
Console apps in Windows can raise OSError ( #15874 )
...
Console apps in Windows implementation can raise OSError so I've fixed it, see below some examples for reference:
- c07807bedf/lib/pure/terminal.nim (L170)
- c07807bedf/lib/pure/terminal.nim (L178)
- c07807bedf/lib/pure/terminal.nim (L191-L192)
- c07807bedf/lib/pure/terminal.nim (L196-L197)
- ...
(cherry picked from commit 49f68122e6 )
2020-11-16 11:24:44 +01:00
narimiran
e0e8762e6b
fix wrongly backported change containing nextId
2020-11-16 09:52:59 +01:00
Andreas Rumpf
fffb0dbea5
fixes #15753 [backport:1.4] ( #15971 )
...
(cherry picked from commit 7eb34d170a )
2020-11-16 07:30:53 +01:00
Clyybber
f02b359968
Fix nimsuggest/#117 ( #15602 )
...
(cherry picked from commit 92da06e64e )
2020-11-16 07:29:30 +01:00
Juan Carlos
7c4fbde78e
https://github.com/nim-lang/Nim/pull/15968/files#r523468677
...
(cherry picked from commit 1b9f37c6dc )
2020-11-16 07:28:59 +01:00
Juan Carlos
2f08a1e390
Fix #15806
...
(cherry picked from commit c56a6133bb )
2020-11-16 07:28:43 +01:00
Juan Carlos
6cc39b5a57
Fix #15806
...
(cherry picked from commit 9ab1a86b5b )
2020-11-16 07:28:32 +01:00
Juan Carlos
2bfabfde49
Fix #15806
...
(cherry picked from commit 3cebae492e )
2020-11-16 07:28:26 +01:00
Juan Carlos
d4ce6acfed
Fix #15806
...
(cherry picked from commit d0dda9efab )
2020-11-16 07:27:32 +01:00
flywind
11f6fd88ea
minor
...
(cherry picked from commit bfa387d384 )
2020-11-16 07:27:25 +01:00
flywind
452203a28e
[docs minor]add some tips yo intern.rst
...
(cherry picked from commit 5af798c21b )
2020-11-16 07:27:20 +01:00
Timothee Cour
b47a98f7f2
targets: use cpp instead of c++ everywhere (was by far the most common) ( #15961 )
...
(cherry picked from commit 96930b9cae )
2020-11-16 07:25:54 +01:00
Timothee Cour
95efe6d3ca
strengthen taddr.nim: add test case for #14578 ; reference other issues; test cpp ( #15960 )
...
(cherry picked from commit 1a47fc2291 )
2020-11-16 07:25:40 +01:00
Araq
a2c51867f2
fixes the doc rendering
...
(cherry picked from commit 02f8b11a71 )
2020-11-16 07:19:56 +01:00
Araq
0848a816b2
ported to FreeRTOS
...
(cherry picked from commit 9f566881f1 )
2020-11-16 07:19:49 +01:00
Araq
1be3caf7c3
makes test green again
...
(cherry picked from commit fa7b12bcf9 )
2020-11-16 07:19:40 +01:00
Araq
4095cae94c
fixes 'nim doc'
...
(cherry picked from commit 19d52033f8 )
2020-11-16 07:19:31 +01:00
Araq
3e9df7da45
better documentation
...
(cherry picked from commit cb19dc53ca )
2020-11-16 07:19:23 +01:00
Araq
abe178b602
attempt to make asynchttpserver better; fixes #15925 ; [backport:1.0]
...
(cherry picked from commit 8778d4a6f3 )
2020-11-16 07:19:17 +01:00