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
Bung
42a3e31826
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-16 07:18:16 +01:00
flywind
b9260514fe
minor
...
(cherry picked from commit a86aa31081 )
2020-11-16 07:12:23 +01:00
flywind
5d88e6c5f5
add testcase for #9754
...
(cherry picked from commit a968e7dd9b )
2020-11-16 07:12:16 +01:00
flywind
36429cabda
nil
...
(cherry picked from commit 0f53b129b7 )
2020-11-16 07:12:08 +01:00
flywind
a983c6a843
close #13062(add testcase for #13062 ) ( #15956 )
...
(cherry picked from commit d802a4a669 )
2020-11-16 07:09:55 +01:00
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