Timothee Cour
cbbb6ca4d7
important_packages: add fusion ( #17094 )
2021-02-20 18:02:10 +01:00
Andrey Makarov
d1fec552d0
stricter checks for RST headlines ( #17089 )
2021-02-20 18:01:45 +01:00
Timothee Cour
0fcf1af765
uri: document removeDotSegments, add tests, show failure modes ( #17064 )
...
* uri: document removeDotSegments, add tests, show failure modes
* address comments
2021-02-20 17:58:54 +01:00
flywind
a1a18cfe66
use single backtick ( #17115 )
2021-02-20 03:20:29 -08:00
flywind
1efaef52a2
[nep1] Use std prefix for standard library modules ( #17105 )
2021-02-19 15:47:03 -08:00
Miran
da52e81327
[backport:1.2] update nimble commit hash ( #17109 )
2021-02-19 20:33:01 +01:00
Timothee Cour
1018f51fce
workaround #17091 : manual.rst now renders as RST in github ( #17092 )
2021-02-19 15:35:34 +01:00
flywind
69611ee487
Ref #12700 add testcase ( #17096 )
...
* fix js unsigned integer
* better
* ref #12700 add testcase
2021-02-19 14:09:12 +01:00
Andreas Rumpf
4395a26764
fixes #17085 [backport:1.2] ( #17101 )
2021-02-19 12:30:39 +01:00
flywind
c1a06bd56e
close #13859 ; add testcase ( #17099 )
...
* fix js unsigned integer
* better
* close #13859 ; add testcase
2021-02-19 11:36:35 +01:00
alaviss
ccc0667c29
system/excpt: let the OS handle termination on signal ( #16712 )
2021-02-19 00:29:21 -08:00
dawidkotlin
95664e1524
add example of hashing an object by all of its fields with fields ( #16643 )
...
* add example of hashing an object by all of its fields with `fields`
* Update lib/pure/hashes.nim
* Update lib/pure/hashes.nim
* Update lib/pure/hashes.nim
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
2021-02-19 07:59:33 +01:00
flywind
9450bf6c08
use single backtick ( #17100 )
2021-02-18 22:47:21 -08:00
Jason Beetham
35ded02074
Add setutils.complement, setutils.fullSet ( #17066 )
2021-02-18 17:33:28 -08:00
Timothee Cour
148e5ba2a5
contributing: prefer assert to doAssert in runnableExamples ( #17077 )
2021-02-18 13:19:38 -08:00
Timothee Cour
bbaa05dc82
followup #17065 ( #17090 )
2021-02-18 11:24:21 -08:00
Timothee Cour
8162c47b0f
nep1: triple quote literals should start with newline ( #17065 )
2021-02-18 20:14:10 +01:00
flywind
cd274a5ac9
fix stringify unsigned integer in JS and JS VM ( #17086 )
...
* fix js unsigned integer
* better
2021-02-18 20:13:52 +01:00
Andreas Rumpf
8fd1ed6dfe
fixes #17060 ( #17083 )
2021-02-18 12:15:21 +01:00
konsumlamm
f400b5c26b
Improve documentation for options ( #17036 )
2021-02-18 02:10:50 -08:00
Andreas Rumpf
ed0a4e7311
fixes #16585 ( #17074 )
2021-02-18 10:02:51 +01:00
flywind
301d784256
[nodejs backend] paramStr, paramCount ( #17082 )
2021-02-18 08:26:50 +01:00
Timothee Cour
f455e03028
fix #17078 csources generation ( #17079 )
...
* fix #17078 csources generation
* fixup
2021-02-18 07:00:51 +01:00
flywind
8873ec6084
fix #17076 ( #17081 )
2021-02-18 06:59:58 +01:00
Timothee Cour
4c568734f4
system: more runnableExamples + doc improvements ( #17075 )
2021-02-17 14:33:02 -08:00
Timothee Cour
31bb67a309
add -d:nimStrictMode in CI to keep code from regressing; fixes ConvFromXtoItselfNotNeeded, UnusedImport notes ( #16764 )
2021-02-17 19:30:09 +01:00
flywind
35e14998ec
fix math.frexp function signature ( #16725 )
2021-02-17 19:27:48 +01:00
flywind
8d63f7b483
clean up old codes ( #17071 )
2021-02-17 19:26:08 +01:00
flywind
98102605d9
fix the unused warnings on windows ( #17073 )
2021-02-17 19:24:27 +01:00
KioriSun
f49d148a91
Fixing unexistant word in PT ( #17070 )
...
In line 289 it said PT =minino for cat. Cat in Portugues is Gato, like in spanish. minino sounds like a foreigner trying to pronounce menino, which means boy, not cat.
For variation's sake, my suggestion is to use the italian(IT) version Gatto, since it keeps in line with being close to ES, alternatively the german(DE) version Katze could be used instead.
2021-02-17 15:49:23 +01:00
flywind
874ccc8493
[minor] clean extccomp ( #17069 )
2021-02-17 15:48:17 +01:00
Clyybber
aa3af9e053
ARC Analysis in one pass v3 ( #17068 )
...
* Analyse last reads all at once
* Integrate firstWrite analysis
* Small cleanup
* Use sets instead of seqs
* Remove instrTargets
* Reap the benefits
* Implement error diagnostics
* Operate on DFA index for lastRead analysis
* Use mgetOrPut
* Cache alias results
This improves performance by a lot, since many
CFG locations map to a single PNode
* Improve performance
* Improve performance
* Cleanup
* Fix #17025
* Grammar
* Expand testcase
2021-02-17 14:17:35 +01:00
flywind
4f118721be
make system random work in VM ( #17059 )
...
* make system random work in VM
2021-02-17 11:52:46 +01:00
Andreas Rumpf
f32ffb6ed8
fixes #17033 [backport:1.4] ( #17061 )
...
* fixes #17033 [backport:1.4]
* make test robust against stdlib gensym things
* cleanup assertions.nim to make topt_no_cursor easier to get right
2021-02-17 11:00:03 +01:00
Timothee Cour
b9994925f5
remove all uses of condsyms symbols defined prior to bootstrap nim 0.20.0 ( #16918 )
...
* nimNoArrayToCstringConversion deadcode
* nimbabel deadcode
* nimHasalignOf deadcode
* nimvarargstyped deadcode
* nimhygiene deadcode
* nimNewTypedesc deadcode
* nimlocks deadcode
* nimHasCppDefine deadcode
* nimHasRunnableExamples deadcode
* nimHasNilChecks deadcode
* nimSymKind deadcode
* minor macros refactoring
* nimVmEqIdent deadcode
* nimNoNil deadcode
* nimNoZeroTerminator deadcode
* nimHasSymOwnerInMacro deadcode
* nimVmExportFixed deadcode
* nimNewRuntime deadcode
* nimAshr deadcode
* nimUncheckedArrayTyp deadcode
* nimHasTypeof deadcode
* nimErrorProcCanHaveBody deadcode
* nimHasHotCodeReloading deadcode
* nimHasSignatureHashInMacro deadcode
* nimHasDefault deadcode
* nimMacrosSizealignof deadcode
2021-02-17 09:32:36 +01:00
Andreas Rumpf
e463a67c74
don't introduce 'dispose', use '=dispose', fixes #17003 [backport:1.4] ( #17062 )
2021-02-17 00:07:37 +01:00
Benoit Favre
81703d4ad4
Fix bug in removeDotSegments: added test ( #17050 )
...
* Fix bug in removeDotSegments when path ends with dot
* Add test for trailing period bug in uri
2021-02-16 20:20:37 +01:00
Timothee Cour
b187caeb87
document since ( #17048 )
...
* document `since`
* address comment
2021-02-16 20:20:01 +01:00
flywind
71feb96c63
[Minor] improve the docs of getTempDir ( #17058 )
...
* [Minor] improve the docs of getTempDir
* more clear
* Update lib/pure/os.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2021-02-16 20:17:40 +01:00
Artem Klevtsov
b7cba9ea08
postgres module fixes (followup #17030 ) ( #17053 )
...
* Fix pqSetSingleRowMode case. Add links to the docs
* Add missing PGContextVisibility enum
* Remove unused PGContextVisibility enum
2021-02-16 20:15:58 +01:00
konsumlamm
0a9a90d991
Improve documentation for bitops ( #16961 )
...
* Improve documentation for bitops
Use func
Use let in runnableExamples
* Remove unnecessary tests
Fix #7587
2021-02-15 21:17:45 +01:00
flywind
a03ec067da
better getTempDir ( #16914 )
...
* better getTempDir
* fix comments
* better
* address comments
* use uint32
2021-02-15 19:39:03 +01:00
Clyybber
70b9e9962f
Revert "ARC: Analysis in one pass v2 ( #17000 )" ( #17046 )
...
This reverts commit 216be4060a .
2021-02-15 18:31:15 +01:00
Dominik Picheta
00f86f5591
Better error message for rand(153 .. 102) ( #17031 )
...
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2021-02-15 08:56:17 -08:00
flywind
339ebe958d
JS: fix div uint64 no truncation ( #16899 )
2021-02-15 14:22:46 +01:00
n5m
55722fe04d
avoid doAssert on contents of osReleaseFile ( #16955 )
2021-02-15 14:21:41 +01:00
Andrey Makarov
35bd39a9d0
RST: implement footnotes and citations ( #16960 )
...
* RST: implement footnotes and citations
* manual fixup of nimdoc.out.css
* remove unused code
* shorter printing code
* Update lib/packages/docutils/rst.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2021-02-15 14:12:40 +01:00
konsumlamm
56f5010fa4
Improve the heapqueue module ( #17034 )
...
Improve documentation
Optimize toHeapQueue
Rename siftup and siftdown
Add tests for the heap property
2021-02-15 13:57:15 +01:00
Benoit Favre
8f54d3b792
Fix bug in removeDotSegments when path ends with dot ( #17038 ) [backport:1.2]
2021-02-15 11:33:26 +01:00
flywind
240879bf3d
array literals uses typed arrays; fix a jsgen bug ( #16850 )
...
* array litterals uses typed arrays
* Update compiler/jsgen.nim
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2021-02-15 11:28:11 +01:00