summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* [nep1] Use `std` prefix for standard library modules (#17105)flywind2021-02-191-1/+4
|
* [backport:1.2] update nimble commit hash (#17109)Miran2021-02-192-4/+4
|
* workaround #17091: manual.rst now renders as RST in github (#17092)Timothee Cour2021-02-191-7/+8
|
* Ref #12700 add testcase (#17096)flywind2021-02-191-1/+9
| | | | | | | * fix js unsigned integer * better * ref #12700 add testcase
* fixes #17085 [backport:1.2] (#17101)Andreas Rumpf2021-02-194-3/+26
|
* close #13859; add testcase (#17099)flywind2021-02-191-0/+19
| | | | | | | * fix js unsigned integer * better * close #13859; add testcase
* system/excpt: let the OS handle termination on signal (#16712)alaviss2021-02-194-3/+46
|
* add example of hashing an object by all of its fields with `fields` (#16643)dawidkotlin2021-02-191-0/+14
| | | | | | | | | | | | * 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>
* use single backtick (#17100)flywind2021-02-1810-81/+81
|
* Add setutils.complement, setutils.fullSet (#17066)Jason Beetham2021-02-183-9/+55
|
* contributing: prefer assert to doAssert in runnableExamples (#17077)Timothee Cour2021-02-181-7/+24
|
* followup #17065 (#17090)Timothee Cour2021-02-181-1/+1
|
* nep1: triple quote literals should start with newline (#17065)Timothee Cour2021-02-181-0/+21
|
* fix stringify unsigned integer in JS and JS VM (#17086)flywind2021-02-182-18/+57
| | | | | * fix js unsigned integer * better
* fixes #17060 (#17083)Andreas Rumpf2021-02-181-1/+3
|
* Improve documentation for options (#17036)konsumlamm2021-02-181-130/+104
|
* fixes #16585 (#17074)Andreas Rumpf2021-02-181-2/+17
|
* [nodejs backend] paramStr, paramCount (#17082)flywind2021-02-182-9/+44
|
* fix #17078 csources generation (#17079)Timothee Cour2021-02-182-6/+4
| | | | | * fix #17078 csources generation * fixup
* fix #17076 (#17081)flywind2021-02-182-4/+30
|
* system: more runnableExamples + doc improvements (#17075)Timothee Cour2021-02-171-39/+48
|
* add -d:nimStrictMode in CI to keep code from regressing; fixes ↵Timothee Cour2021-02-1720-23/+43
| | | | ConvFromXtoItselfNotNeeded, UnusedImport notes (#16764)
* fix math.frexp function signature (#16725)flywind2021-02-173-41/+65
|
* clean up old codes (#17071)flywind2021-02-173-11/+3
|
* fix the unused warnings on windows (#17073)flywind2021-02-171-8/+13
|
* Fixing unexistant word in PT (#17070)KioriSun2021-02-171-1/+1
| | | | 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.
* [minor] clean extccomp (#17069)flywind2021-02-171-21/+16
|
* ARC Analysis in one pass v3 (#17068)Clyybber2021-02-178-127/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* make system random work in VM (#17059)flywind2021-02-175-19/+90
| | | | * make system random work in VM
* fixes #17033 [backport:1.4] (#17061)Andreas Rumpf2021-02-173-9/+105
| | | | | | | * fixes #17033 [backport:1.4] * make test robust against stdlib gensym things * cleanup assertions.nim to make topt_no_cursor easier to get right
* remove all uses of condsyms symbols defined prior to bootstrap nim 0.20.0 ↵Timothee Cour2021-02-1727-798/+619
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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
* don't introduce 'dispose', use '=dispose', fixes #17003 [backport:1.4] (#17062)Andreas Rumpf2021-02-172-2/+2
|
* Fix bug in removeDotSegments: added test (#17050)Benoit Favre2021-02-161-0/+1
| | | | | * Fix bug in removeDotSegments when path ends with dot * Add test for trailing period bug in uri
* document `since` (#17048)Timothee Cour2021-02-163-7/+19
| | | | * document `since` * address comment
* [Minor] improve the docs of getTempDir (#17058)flywind2021-02-161-3/+5
| | | | | | | | | * [Minor] improve the docs of getTempDir * more clear * Update lib/pure/os.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* postgres module fixes (followup #17030) (#17053)Artem Klevtsov2021-02-161-2/+4
| | | | | | | * Fix pqSetSingleRowMode case. Add links to the docs * Add missing PGContextVisibility enum * Remove unused PGContextVisibility enum
* Improve documentation for bitops (#16961)konsumlamm2021-02-152-464/+304
| | | | | | | | | | * Improve documentation for bitops Use func Use let in runnableExamples * Remove unnecessary tests Fix #7587
* better getTempDir (#16914)flywind2021-02-152-16/+49
| | | | | | | | | | | * better getTempDir * fix comments * better * address comments * use uint32
* Revert "ARC: Analysis in one pass v2 (#17000)" (#17046)Clyybber2021-02-157-144/+127
| | | This reverts commit 216be4060a853b3425501318537d598c4842eefc.
* Better error message for rand(153 .. 102) (#17031)Dominik Picheta2021-02-151-1/+1
| | | Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* JS: fix div uint64 no truncation (#16899)flywind2021-02-152-1/+23
|
* avoid doAssert on contents of osReleaseFile (#16955)n5m2021-02-151-1/+1
|
* RST: implement footnotes and citations (#16960)Andrey Makarov2021-02-159-36/+656
| | | | | | | | | * 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>
* Improve the heapqueue module (#17034)konsumlamm2021-02-152-89/+165
| | | | | | Improve documentation Optimize toHeapQueue Rename siftup and siftdown Add tests for the heap property
* Fix bug in removeDotSegments when path ends with dot (#17038) [backport:1.2]Benoit Favre2021-02-151-1/+1
|
* array literals uses typed arrays; fix a jsgen bug (#16850)flywind2021-02-156-31/+81
| | | | | | | * 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>
* fix the wrong examples (#17035)flywind2021-02-151-19/+42
|
* Small update for packedsets (#17037)konsumlamm2021-02-151-12/+11
| | | | Rename PTrunk to Trunk Use ord instead of cast[int]
* fixed dot operator recursive loop & macro suggest (#16922)Saem Ghani2021-02-158-24/+51
| | | | | | | | | | | | | | | | | | * basic stability improvements; refs nimsuggest * fixed dot operator recursive loop & macro suggest * hacky fix for run away dot operator sem check Committing this mostly to make the issue more clear. Perhaps get better feedback. * semExprWithType seems like a better place to check * fixed error messages const case expressions * Clean-up test * stopped the dot operator madness No longer get infinite recursion when seming broken code with a dot operator macro like in jsffi. Co-authored-by: Araq <rumpf_a@web.de>
* Add pqsetsinglerowmode to postgres module (#17030)Artem Klevtsov2021-02-141-2/+6
| | | | | | | | | | | | * Add pqsetsinglerowmode to postgres module Very useful to reduce memory usage when fetch a large amount of data. Documentation: https://www.postgresql.org/docs/current/libpq-single-row-mode.html * Add missing enum to the ExecStatusType * Revert entry * Update ConnStatusType enum