Miran
9c33bcac5c
change 'iff' to 'if' to stop "corrections" once and for all ( #14182 )
2020-05-01 15:54:03 +02:00
hlaaftana
9b01c6cf48
discardable async procs are now an error ( #14176 )
...
* add discard warning in manual
2020-05-01 09:49:13 +02:00
Andreas Rumpf
d5fc35c968
arc: do not unload globals when building a library [backport:1.2] ( #14180 )
2020-05-01 09:15:46 +02:00
rockcavera
33e9ac7cd3
fix sendTo and recvFrom in asyncnet ( #14154 )
...
* added high level sendTo and recvFrom to std/asyncnet; tests were also added.
* add .since annotation, a changelog entry and fixed to standard library style guide.
* Improved asserts msgs and added notes for use with UDP sockets
* pointers removed in parameters and fixes
* added .since annotation
* minor fixes
2020-04-30 22:50:37 +02:00
Araq
6b39b47abc
hotfix: make tcompilerapi green again
2020-04-30 22:48:10 +02:00
Andreas Rumpf
89be5be03e
fixes #13698 [backport:1.2] ( #14175 )
2020-04-30 22:45:02 +02:00
Araq
3d2459bdc0
fixes the regression #12860 caused; hotfix
2020-04-30 20:23:53 +02:00
Andreas Rumpf
cf3e0008b9
fixes #13986 [backport:1.2] ( #14173 )
2020-04-30 19:32:03 +02:00
hlaaftana
0aefebb728
JS unittest stacktrace fix, cleanup js repr and inclrtl includes ( #14168 )
2020-04-30 17:04:53 +01:00
narimiran
4d799f8820
test even more packages
2020-04-30 13:03:48 +02:00
narimiran
d844d10e8e
[ci skip] clean-up CI badges
2020-04-30 10:19:18 +02:00
narimiran
f1068c01a8
[ci skip] prevent fail-fast on packages CI
2020-04-30 10:11:18 +02:00
Andreas Rumpf
cc60caedb3
fixes #14054 [backport:1.2] ( #14061 )
...
* fixes #14054
* make tests green again
* more tests are green
* maybe now
2020-04-30 06:48:57 +02:00
Clyybber
d6e1b5c070
Fix #14160 ( #14161 )
...
* Fix #14160
* Add testcase
2020-04-30 02:01:07 +02:00
Araq
bd57f0cd32
fixes another silly arc/orc bug [backport:1.2]
2020-04-29 22:14:01 +02:00
Andreas Rumpf
d9e907c0e2
fixes #14079 [backport:1.2] ( #14163 )
2020-04-29 21:58:59 +02:00
hlaaftana
707367e1ca
many bugfixes for js ( #14158 )
...
* many bugfixes for js
fixes #12672 , fixes #14153 , closes #14123 , closes #11331 , fixes #11783 , fixes #13966 , fixes #14087 , fixes #14117 , closes #12256 .
mostly fixes the fact that it was allowed to assign to newly created temp variables. additionally attempts to get rid of null initialized seqs/strings (though they might pop up here and there); this simplifies a lot of things and makes code size smaller. even if null seqs/strings pop up here and there it's still better than all those bugs existing.
* formatting fixes
* CI fixes
* more CI fixes
2020-04-29 20:55:09 +02:00
Tristram Oaten
a297c016fa
Remove travis ci badge ( #14062 )
2020-04-29 17:06:14 +02:00
hlaaftana
800ce5b950
Fix negative indexed arrays for JS, refs #13966 ( #14152 )
...
* Fix negative arrays for JS, refs #13966
* small extra fix: no need to .slice() cstring in JS
2020-04-29 08:59:08 +02:00
cooldome
3b5a504692
parseEnum_regression ( #14150 )
...
Co-authored-by: cooldome <ariabushenko@bk.ru >
2020-04-28 19:56:50 +02:00
Jacek Sieka
7d6cbf290a
Error -> Defect for defects ( #13908 )
...
* Error -> Defect for defects
The distinction between Error and Defect is subjective,
context-dependent and somewhat arbitrary, so when looking at an
exception, it's hard to guess what it is - this happens often when
looking at a `raises` list _without_ opening the corresponding
definition and digging through layers of inheritance.
With the help of a little consistency in naming, it's at least possible
to start disentangling the two error types and the standard lib can set
a good example here.
2020-04-28 19:56:01 +02:00
hlaaftana
cd9af6b804
StringStream & more stdlib modules support for JS/NimScript ( #14095 )
...
* StringStream & more stdlib modules support for JS/NimScript
* change back pegs test in line with #14134
2020-04-28 19:44:52 +02:00
narimiran
d5ed4fba3e
test packages with Github workflows
2020-04-28 18:14:34 +02:00
cooldome
289d48e5fe
bug fix ( #14149 ) [backport:1.2]
...
Co-authored-by: cooldome <ariabushenko@bk.ru >
2020-04-28 18:02:14 +02:00
narimiran
e63fc95bd4
fix tdistros test which was failing on Nightlies
2020-04-28 15:59:32 +02:00
hlaaftana
82fc66b607
Update grammar.txt with func and as ( #14147 ) [backport]
2020-04-28 10:57:35 +02:00
Miran
e1dab59d46
add 14 more packages to 'important_packages' ( #14141 )
2020-04-28 07:28:48 +02:00
Andreas Rumpf
065a6af2de
fixes a critical =trace generation bug (see test case) ( #14140 )
2020-04-27 22:20:14 +02:00
PMunch
2f1aad0264
Add RSA key reading and encrypt/decrypt to openssl ( #14137 )
...
This adds the procedures to read RSA keys and encrypt/decrypt messages
with both public and private keys.
2020-04-27 21:01:56 +02:00
Neelesh Chandola
d38853c504
Undefine paramCount & paramStr in nimscript.nim for *.nims ( #12860 )
...
* Remove `paramStr` and `paramCount` from implicitly imported nimscript.nim
* Update changelog.md
* Update stable nimble commit hash
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2020-04-27 19:16:40 +02:00
Timothee Cour
a3a317b76d
$ now works for unsigned intergers with nim js (#14122 )
...
* $(unsigned) now works for js
* move NimMajor+friends closer to NimVersion according as per reviewer feedback
2020-04-27 19:15:17 +02:00
PMunch
0e6eb96a5f
Fix #14066 issue with stringifying incomplete types ( #14135 )
2020-04-27 18:43:02 +02:00
Timothee Cour
bb982c644b
$(a: float) now works consistently in nim js, avoiding printing floats as ints (#14134 )
...
* fix https://github.com/timotheecour/Nim/issues/133 ; $(a: float) works in nim js like in other backends
* fix tests
* fix test for windows that prints 1.1e17 differently than other OS
2020-04-27 17:33:03 +02:00
Oscar Nihlgård
664cb2c0be
Remove some deprecated procs from std/times ( #14129 )
2020-04-27 14:42:29 +02:00
Timothee Cour
b8d7a98265
fix #14132 dsymutil should not be called on static libraries ( #14133 ) [backport:1.2]
2020-04-27 12:39:27 +02:00
Andreas Rumpf
dedb04fa9e
new implementations for --gc:orc ( #14121 )
...
* cycle collector: new implementation
* cycle collector: make self-adaptive based on its previous effectiveness
* cycle collector: added Lins's jump stack to improve traversal from 3*N to 2*N
* cycle collector: make tests green
* API extensions and bugfixes
* code cleanup and use --gc:orc for tasyncawait
2020-04-27 11:57:26 +02:00
cooldome
eaedd0cb94
add FileReader Web API to js dom ( #14105 )
...
* add FileReader to js dom
* minor improvement
Co-authored-by: cooldome <ariabushenko@bk.ru >
2020-04-27 00:08:11 +02:00
Timothee Cour
9384f7ad35
since now takes an optional patch, eg: since: (1, 3, 1) ( #14124 )
...
add tests for tinclrtl
2020-04-26 14:55:25 +02:00
rockcavera
d23446c6ba
added high level sendTo and recvFrom to std/asyncnet (UDP functionality) ( #14109 )
...
* added high level sendTo and recvFrom to std/asyncnet; tests were also added.
* add .since annotation, a changelog entry and fixed to standard library style guide.
* Improved asserts msgs and added notes for use with UDP sockets
2020-04-26 10:16:10 +02:00
hlaaftana
76ffa4fa25
fixes #14112 , tests for #12892 , #12671 , #11697 ( #14125 )
2020-04-26 10:12:16 +02:00
hlaaftana
31ba27590c
small docs fix in typetraits ( #14108 )
2020-04-25 20:35:20 +02:00
Alexander Ivanov
56584414f3
Make await a template ( #12085 )
...
* Make await a template
* Generate await inside async/multisync
2020-04-25 20:27:03 +02:00
Christopher Dunn
caf30e7cb5
Faster readStr() ( #14099 )
...
* Faster readStr()
* https://github.com/nim-lang/Nim/issues/13857
* Add .since annotation and add to changelog
* Private, un-sinced proc for csource bootstrapping
2020-04-25 20:19:11 +02:00
Viktor Kirilov
018e297d66
HCR: properly handling complex const objects in the codegen - fixes #13915 ( #14115 )
2020-04-25 20:17:33 +02:00
Jae Yang
362c8964bf
Fixes #14110 ( #14111 )
...
Fixes jsffi usage example in doc
2020-04-25 20:00:24 +02:00
cooldome
13fa338ada
implement ( #14114 )
...
Co-authored-by: cooldome <ariabushenko@bk.ru >
2020-04-25 19:59:56 +02:00
Euan
f3eeb3f921
Fix #14088 and #14089 on NetBSD ( #14104 )
...
* Set path to libSDL for NetBSD.
* Disable SFML test on NetBSD
2020-04-24 14:30:41 +02:00
Timothee Cour
706de1a566
add CI badges for CI github actions ssl+docs
2020-04-24 11:10:14 +01:00
Timothee Cour
d5b7e9902c
fix nim CI; fix local testament ( #14102 )
2020-04-24 10:24:30 +02:00
Phil Krylov
d5d3594457
Add critbits.commonPrefixLen ( #14072 )
...
* Add critbits.commonPrefixLen
* add inline and since annotations, as well as a changelog entry
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2020-04-24 09:31:30 +02:00