summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* fix #16978 unittest js foreign exception (#16998)Timothee Cour2021-02-132-3/+24
| | | | * fix #16978 unittest js foreign exception
* followup #17001: improve coverage for tests/openarray/topenarray.nim (#17006)Timothee Cour2021-02-131-3/+17
| | | | * followup #17001: improve coverage for tests/openarray/topenarray.nim
* rst: single backticks now render correctly in both rst2html and github (#17028)Timothee Cour2021-02-136-60/+76
| | | | | | * rst: `` => ` * support default-role in rst2html * update docstyle regarding single vs double backticks
* tables module uses runnableExamples (#16994)flywind2021-02-134-335/+314
| | | | | * tables module use runnableExamples * disable the tests
* Make parseopt available on all backends (#17009)hlaaftana2021-02-135-144/+165
| | | | | | | | | * Make parseopt available on all backends * fix spaces * fix getopt and update prelude * no crazy unnecessary version checks, use doAssert
* compilesettings: add libpath (#16997)Timothee Cour2021-02-126-19/+20
| | | | | | | | | | | * compilesettings: add libpath * add test * changelog * fixup Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Improve math module (#17019)konsumlamm2021-02-123-807/+783
| | | | | | | | | | | | | | | | | | | | | | | | | * Improve documentation for math Support empty input for cumsummed Use runnableExamples Move some examples to tests Add more tests * Update tests/stdlib/tmath.nim Move some tests to trandom.nim Move tests into main template where possible Add test for #17017 * Add more tests for gamma & lgamma Remove gamma(-1.0) example Small fixes/changes * Move more tests into template main() * Fix typos * Add edge case examples for copySign
* typeToString: type float => typedesc[float] (#17011)Timothee Cour2021-02-1213-18/+21
| | | | | | | * typeToString: type float => typedesc[float] * fixup * fix tests
* Improve documentation for random (#17015)konsumlamm2021-02-121-185/+168
| | | | | | | | | | | | | * Improve documentation for random Use runnableExamples Minor changes * Apply suggestions Remove echo Use RNG in more places * Fix skipRandomNumbers example
* parse RST headings when EOF follows them (#17014)Andrey Makarov2021-02-122-3/+12
|
* Display user hints/warnings from foreign packages (#17024)Danil Yarantsev2021-02-121-1/+2
|
* add system random to stdlib: std/sysrand (#16459)flywind2021-02-116-0/+333
|
* [backport:1.4] JS cstring null fixes (#16979)hlaaftana2021-02-115-8/+69
| | | | | * [backport:1.4] JS cstring null fixes * fix JS move string * make it look cleaner
* fixes a bug that keeps Nimbus from compiling with --gc:orc (#17005)Andreas Rumpf2021-02-111-2/+15
| | | | | * fixes a bug that keeps Nimbus from compiling with --gc:orc * better fix
* koch.nim: documented the bootstrapping process (#17008)Andreas Rumpf2021-02-111-0/+7
|
* unbundle fusion (#16925)Timothee Cour2021-02-116-20/+13
| | | | | | * unbundle fusion * changelog * address comment: `./koch fusion` calls nimble install fusion (at a fixed hash)
* Improve documentation for assertions (#16988)konsumlamm2021-02-112-38/+54
| | | | | | | | | | | * Improve documentation for assertions * Apply suggestions Fix tests/assert/tassert_c.nim * Use runnableExamples * Move runnableExamples to module scope
* Improve documentation for cstrutils (#17004)konsumlamm2021-02-101-19/+23
|
* std/wrapnils does not use experimental:dotOperators anymore (#16996)Timothee Cour2021-02-102-12/+13
|
* [JS] Ref #15952 make toOpenArray works better (#17001)flywind2021-02-102-10/+32
| | | | | * ref 15952 toOpenArray works in JS * fix
* ARC: Analysis in one pass v2 (#17000)Clyybber2021-02-107-127/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 warning nim nim doc posix (#16995)Timothee Cour2021-02-101-0/+4
|
* nep1: prefer `a..b` to `a .. b` except if `b` has an operator (eg: `a .. ↵Timothee Cour2021-02-101-0/+3
| | | | | | | | | -1`) (#16992) * nep1: prefer `a..b` to `a .. b` except if b has an operator * address comments * address comment
* improve ./koch docs (#16991)Timothee Cour2021-02-102-28/+25
| | | | | | | * improve ./koch docs * fixup * fixup